This commit is contained in:
+2
-1
@@ -9,7 +9,8 @@ COPY app.js /srv/app.js
|
||||
COPY healthz /srv/healthz
|
||||
COPY health.html /srv/health.html
|
||||
COPY error.html /srv/error.html
|
||||
COPY server.py /srv/server.py
|
||||
RUN chown -R app:app /srv
|
||||
USER app
|
||||
EXPOSE 8080
|
||||
CMD ["python", "-m", "http.server", "8080", "--bind", "0.0.0.0", "--directory", "/srv"]
|
||||
CMD ["python", "/srv/server.py"]
|
||||
|
||||
Reference in New Issue
Block a user