We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 539453c commit 5fc7491Copy full SHA for 5fc7491
1 file changed
Dockerfile
@@ -3,21 +3,12 @@ FROM python:3.12-slim AS base
3
# This will be set by the GitHub action to the folder containing this component.
4
ARG FOLDER=/app
5
6
-# Install dependencies only when needed
7
-FROM base AS deps
8
-
9
COPY . /app
10
WORKDIR ${FOLDER}
11
12
# Install dependencies
13
RUN pip install --no-cache-dir --prefer-binary -r requirements.txt
14
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
21
EXPOSE 8000
22
ENV PORT=8000
23
ENV HOST="0.0.0.0"
0 commit comments