Dockerize
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
FROM python:3-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy only the necessary web assets
|
||||
COPY index.html favicon.svg ./
|
||||
COPY web/ ./web/
|
||||
|
||||
# Expose a random non-standard port
|
||||
EXPOSE 8421
|
||||
|
||||
# Run the python HTTP server
|
||||
CMD ["python", "-m", "http.server", "8421"]
|
||||
Reference in New Issue
Block a user