Skip to content

Commit

Permalink
Merge pull request #6 from childmindresearch/feat/smaller-docker-image
Browse files Browse the repository at this point in the history
refactor: Reduce docker image size
  • Loading branch information
nx10 authored Jan 10, 2025
2 parents 022daf0 + 8e217e3 commit eee9589
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM python:3.11-slim
FROM python:3.11-alpine

RUN pip install poetry

WORKDIR /app
COPY . .
COPY poetry.lock pyproject.toml LICENSE README.md ./
COPY src src

RUN poetry install
RUN poetry install --no-cache

EXPOSE 8000

Expand Down

0 comments on commit eee9589

Please sign in to comment.