create Docker resources
This commit is contained in:
parent
3858ed171c
commit
a1b1787612
2 changed files with 11 additions and 2 deletions
9
.dockerignore
Normal file
9
.dockerignore
Normal file
|
@ -0,0 +1,9 @@
|
|||
# common ignores
|
||||
Dockerfile
|
||||
.drone.yml
|
||||
.git*
|
||||
|
||||
# repo
|
||||
README.md
|
||||
Features.md
|
||||
venv
|
|
@ -1,11 +1,11 @@
|
|||
FROM python:3.9-alpine
|
||||
|
||||
ADD . /app/
|
||||
COPY . /app/
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
USER 1000
|
||||
USER 1000:1000
|
||||
|
||||
CMD ["python", "main.py"]
|
Loading…
Add table
Reference in a new issue