Skip to content

Commit dc0e66a

Browse files
committed
fix: update Dockerfile to install only main dependencies and bump tree-disk-rings version to 0.4.8
1 parent a8aa4e8 commit dc0e66a

File tree

3 files changed

+252
-258
lines changed

3 files changed

+252
-258
lines changed

tree-disk-api/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ WORKDIR /app
2525
COPY pyproject.toml poetry.lock ./
2626

2727
# Install project dependencies (production only)
28-
RUN poetry install --without dev --no-directory
28+
RUN poetry install --only main
2929

3030
# Stage 2: Runtime stage
3131
FROM python:3.12-slim
@@ -39,7 +39,7 @@ COPY --from=builder /app/.venv .venv
3939
COPY . .
4040

4141
# Add the source directory to PYTHONPATH so imports resolve correctly
42-
ENV PYTHONPATH="/app/src"
42+
#ENV PYTHONPATH="/app/src"
4343

4444
# Copy the entrypoint script into the image and set execute permission
4545
COPY entrypoint.sh /entrypoint.sh

0 commit comments

Comments
 (0)