Запихнул в docker-compose
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:latest
|
||||
|
||||
ADD . /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip3 install --upgrade pip && pip3 install -r requirements.txt
|
||||
EXPOSE 8080
|
||||
CMD python3 main.py
|
||||
Reference in New Issue
Block a user