feat(docker): reduced Dockerfile and added .drone.yml to dockerignore
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
*.pyc
|
||||
.git/
|
||||
Dockerfile
|
||||
__pycache__/*
|
||||
__pycache__/*
|
||||
drone.yml
|
||||
@@ -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"]
|
||||
Reference in New Issue
Block a user