add: docker init
This commit is contained in:
parent
cf4e2e09aa
commit
557d592201
@ -2,6 +2,8 @@ FROM alpine
|
|||||||
|
|
||||||
RUN apk add git python3 py3-pip
|
RUN apk add git python3 py3-pip
|
||||||
RUN git clone https://git.chauvet.pro/bozogang/bozo-backend app
|
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
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
CMD ["python3", "main.py"]
|
CMD ["python3", "main.py"]
|
||||||
|
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user