docker image creation

This commit is contained in:
giomba 2021-03-06 16:16:35 +01:00
parent f8d7ef7aae
commit 58e303a7a2
1 changed files with 12 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "main.py" ]