init
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM python:3.9
|
||||
|
||||
LABEL maintainer="Martin Fencl <martin.fencl@eurowag.com>"
|
||||
|
||||
RUN apt-get update -y && \
|
||||
apt-get dist-upgrade -y
|
||||
|
||||
WORKDIR /app
|
||||
COPY requirements.txt ./
|
||||
|
||||
RUN pip3 install --upgrade pip && \
|
||||
pip3 install -Ur requirements.txt -i https://pypi.princip.cz
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "python", "./app.py" ]
|
||||
Reference in New Issue
Block a user