add: docker init

This commit is contained in:
starnakin 2023-06-04 13:05:35 +02:00
parent cf4e2e09aa
commit 557d592201
2 changed files with 13 additions and 1 deletions

View File

@ -2,6 +2,8 @@ FROM alpine
RUN apk add git python3 py3-pip
RUN git clone https://git.chauvet.pro/bozogang/bozo-backend app
WORKDIR /app
WORKDIR app
RUN git clone https://github.com/Sofiandsv/htmlbase-zeolak_esports templates
RUN pip install -r requirements.txt
CMD ["python3", "main.py"]

10
docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
version: "2.1"
services:
zeolak:
image: zeolak
container_name: zeolak
volumes:
- /path/to/zeolak/:/app/config/
ports:
- 80:5000
restart: unless-stopped