From 557d59220143b58011b1840db1af39d0a7b3ed68 Mon Sep 17 00:00:00 2001 From: starnakin Date: Sun, 4 Jun 2023 13:05:35 +0200 Subject: [PATCH] add: docker init --- Dockerfile | 4 +++- docker-compose.yml | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile index 0a9631f..d30dfae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0080f09 --- /dev/null +++ b/docker-compose.yml @@ -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