feat(docker): reduced Dockerfile and added .drone.yml to dockerignore

This commit is contained in:
2021-11-29 05:19:04 +01:00
parent 275f2b4a24
commit 12b62bbd97
2 changed files with 3 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
*.pyc
.git/
Dockerfile
__pycache__/*
__pycache__/*
drone.yml

View File

@@ -1,13 +1,9 @@
FROM python:3.9-alpine
COPY requirements.txt /
COPY . /
RUN pip3 install -r /requirements.txt
COPY ./app/ /app
WORKDIR /app
EXPOSE 80/tcp
ENTRYPOINT ["./entrypoint.sh"]