Skip to content

Commit 5fc7491

Browse files
committed
Remove the deps stage
1 parent 539453c commit 5fc7491

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,12 @@ FROM python:3.12-slim AS base
33
# This will be set by the GitHub action to the folder containing this component.
44
ARG FOLDER=/app
55

6-
# Install dependencies only when needed
7-
FROM base AS deps
8-
96
COPY . /app
107
WORKDIR ${FOLDER}
118

129
# Install dependencies
1310
RUN pip install --no-cache-dir --prefer-binary -r requirements.txt
1411

15-
# Production image, copy all the files and run "npm start"
16-
FROM base AS runner
17-
18-
COPY --from=deps /app /app
19-
WORKDIR ${FOLDER}
20-
2112
EXPOSE 8000
2213
ENV PORT=8000
2314
ENV HOST="0.0.0.0"

0 commit comments

Comments
 (0)