Add swarm deploy setup

This commit is contained in:
Luke Murphy
2020-06-25 15:38:57 +02:00
parent 2b8ed3de5c
commit b2db25655d
4 changed files with 66 additions and 7 deletions

11
Dockerfile Normal file
View 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"]