diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..cd8251c --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +.git/ +.vscode/ +.idea/ + +.DS_Store +__pycache__ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4dbeeca --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.12 + +WORKDIR /shirino + +COPY ./requirements.txt . + +RUN pip3 install --no-cache-dir --upgrade -r ./requirements.txt + +COPY ./ /shirino/ + +CMD ["python", "main.py"] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..f4a8391 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,9 @@ +services: + shirino: + image: ghcr.io/shirino/shirino:latest + ports: + - '8080:8080' + restart: unless-stopped + volumes: + - '.config.yaml:/config.yaml' + - '.config_sample.yaml:/config_sample.yaml' \ No newline at end of file