create Docker resources
This commit is contained in:
parent
3858ed171c
commit
a1b1787612
|
@ -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
|
FROM python:3.9-alpine
|
||||||
|
|
||||||
ADD . /app/
|
COPY . /app/
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
USER 1000
|
USER 1000:1000
|
||||||
|
|
||||||
CMD ["python", "main.py"]
|
CMD ["python", "main.py"]
|
Loading…
Reference in New Issue