Skip to content

Commit 934f00e

Browse files
committed
Optimized dependencies for containerization #49
1 parent 4003fdb commit 934f00e

File tree

4 files changed

+390
-342
lines changed

4 files changed

+390
-342
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ aws
99
tests
1010
.env
1111
.pre-commit-config.yaml
12-
Makefile
12+
Makefile
13+
poetry.toml

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM python:3.12-slim
22
RUN pip install poetry==1.8.4
33
WORKDIR /api
44
COPY . .
5-
RUN poetry install --sync
5+
RUN poetry install --without dev --sync
66
CMD ["poetry","run","python", "imaginate_api/app.py"]
77

88

0 commit comments

Comments
 (0)