Skip to content

Commit

Permalink
feat: update dockerfile & dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
solumath authored and peterdragun committed Sep 3, 2024
1 parent 40074ff commit 2308dd8
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 7 deletions.
38 changes: 33 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,36 @@
# Ignore unneeded files
LICENSE
README.md
**/__pycache__/
config.toml
**/docker-compose*
**/Dockerfile*
**/other

# IDE files
.idea
.vscode

# Local files
emojis.zip
timeout_wars
merlin-latest
service_logs.txt
config/config.toml
*sql

# Ignore all logs
logs/*
*.log

# Cache files
__pycache__
.mypy_cache/
.ruff_cache

# Virtual environments
venv
.venv
env
.env

# Ignore configuration files
config.toml
docker-compose*
Dockerfile*
other
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV TZ=Europe/Prague

RUN apk update && apk add gcc git postgresql-dev musl-dev tzdata libxml2-dev libxslt-dev g++ openssh python3-dev graphviz-dev graphviz
RUN apk add jpeg-dev zlib-dev freetype-dev lcms2-dev openjpeg-dev tiff-dev tk-dev tcl-dev libwebp-dev libffi-dev cairo
# cairo - /room - for generating images
# git - setting bot presence and it's commit
# openssh - ios cog & merlin access
RUN apk update && apk add git cairo openssh
# lxml python library dependencies
RUN apk add libxml2-dev libxslt-dev python3-dev

VOLUME /rubbergod
WORKDIR /rubbergod
Expand Down

0 comments on commit 2308dd8

Please sign in to comment.