Skip to content

Commit

Permalink
Remove CairoSVG dependencies from Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
khakers authored Jul 28, 2023
1 parent 4cb5b5a commit 9a9afb4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM python:3.11-alpine as base

RUN apk update && apk add git \
# cairosvg dependencies
cairo-dev cairo cairo-tools \
# pillow dependencies
jpeg-dev zlib-dev

Expand All @@ -24,4 +22,4 @@ CMD ["python", "bot.py"]

RUN adduser --disabled-password --gecos '' app && \
chown -R app /modmail
USER app
USER app

0 comments on commit 9a9afb4

Please sign in to comment.