[INIT]
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM python:3.12.4
|
||||
|
||||
MAINTAINER maxim Romanko (vadzik)
|
||||
|
||||
ENV TZ="Europe/Moscow"
|
||||
|
||||
# set a directory for the app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# copy all the files to the container
|
||||
COPY main.py .
|
||||
COPY req.txt .
|
||||
RUN mkdir ./images
|
||||
|
||||
# install app-specific dependencies
|
||||
RUN pip install --no-cache-dir -r req.txt
|
||||
|
||||
# app command
|
||||
CMD ["python", "-u", "./main.py"]
|
||||
Reference in New Issue
Block a user