Skip to content

Commit

Permalink
setup docker (test)
Browse files Browse the repository at this point in the history
  • Loading branch information
Redume committed Sep 28, 2024
1 parent c0e1698 commit ab18d1c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.git/
.vscode/
.idea/

.DS_Store
__pycache__
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
9 changes: 9 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit ab18d1c

Please sign in to comment.