Skip to content

Commit

Permalink
Merge pull request #33 from soup-bowl/alpinedocker
Browse files Browse the repository at this point in the history
Switch Dockerfile to Alpine
  • Loading branch information
soup-bowl authored Jul 29, 2024
2 parents 87221b0 + 450ba8d commit 9a50552
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM python:3-slim
FROM python:3-alpine

WORKDIR /opt/app

COPY pyproject.toml poetry.lock ./

RUN apk add --no-cache python3-dev libc-dev zlib-dev jpeg-dev freetype-dev \
gcc libxml2-dev libxslt-dev libffi-dev

RUN pip install --no-cache-dir poetry
RUN poetry install --no-dev --no-interaction --no-ansi

Expand Down

0 comments on commit 9a50552

Please sign in to comment.