Add swarm deploy setup
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM python:3.8-alpine
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
COPY . .
|
||||
|
||||
ENTRYPOINT ["/bin/sh"]
|
||||
|
||||
RUN apk add --no-cache curl
|
||||
|
||||
CMD ["-c", "python -m http.server --bind 0.0.0.0 --directory . 8000"]
|
Reference in New Issue
Block a user