diff --git a/.dockerignore b/.dockerignore index 6ea5688..153fb8c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,5 @@ *.pyc .git/ Dockerfile -__pycache__/* \ No newline at end of file +__pycache__/* +drone.yml \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index e73b6e0..3ed6954 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file