Сделал docker

This commit is contained in:
Данил 2024-10-19 19:14:10 +03:00
parent 00b7a1d67e
commit 6051cc26d8
2 changed files with 23 additions and 0 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM python:3.12
WORKDIR /
COPY ./requirements.txt ./
RUN pip3 install --no-cache-dir --upgrade -r ./requirements.txt
COPY . .
EXPOSE 9000
CMD ["python", "main.py"]

10
docker-compose.yaml Normal file
View file

@ -0,0 +1,10 @@
services:
kekkai-web:
build: .
ports:
- '9000:9000'
restart: unless-stopped
volumes:
starlio-web:
driver: local