We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8aa4e8 commit dc0e66aCopy full SHA for dc0e66a
tree-disk-api/Dockerfile
@@ -25,7 +25,7 @@ WORKDIR /app
25
COPY pyproject.toml poetry.lock ./
26
27
# Install project dependencies (production only)
28
-RUN poetry install --without dev --no-directory
+RUN poetry install --only main
29
30
# Stage 2: Runtime stage
31
FROM python:3.12-slim
@@ -39,7 +39,7 @@ COPY --from=builder /app/.venv .venv
39
COPY . .
40
41
# Add the source directory to PYTHONPATH so imports resolve correctly
42
-ENV PYTHONPATH="/app/src"
+#ENV PYTHONPATH="/app/src"
43
44
# Copy the entrypoint script into the image and set execute permission
45
COPY entrypoint.sh /entrypoint.sh
0 commit comments