feat(docker): reduced Dockerfile and added .drone.yml to dockerignore
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
.git/
|
.git/
|
||||||
Dockerfile
|
Dockerfile
|
||||||
__pycache__/*
|
__pycache__/*
|
||||||
|
drone.yml
|
||||||
@@ -1,13 +1,9 @@
|
|||||||
FROM python:3.9-alpine
|
FROM python:3.9-alpine
|
||||||
|
|
||||||
COPY requirements.txt /
|
COPY . /
|
||||||
|
|
||||||
RUN pip3 install -r /requirements.txt
|
RUN pip3 install -r /requirements.txt
|
||||||
|
|
||||||
COPY ./app/ /app
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 80/tcp
|
||||||
|
|
||||||
ENTRYPOINT ["./entrypoint.sh"]
|
ENTRYPOINT ["./entrypoint.sh"]
|
||||||
Reference in New Issue
Block a user