mirror of
https://github.com/Redume/Kekkai-web.git
synced 2024-11-21 07:46:24 +03:00
Сделал docker
This commit is contained in:
parent
00b7a1d67e
commit
6051cc26d8
2 changed files with 23 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
10
docker-compose.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
services:
|
||||
kekkai-web:
|
||||
build: .
|
||||
ports:
|
||||
- '9000:9000'
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
starlio-web:
|
||||
driver: local
|
Loading…
Add table
Reference in a new issue