Skip to content

Commit

Permalink
Push missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
armenzg committed Dec 21, 2023
1 parent 06ab7b3 commit 9bba586
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Build stage
FROM python:3.10 AS builder
FROM python:3.11 AS builder
RUN pip install -U pip setuptools wheel
# Copy files
COPY requirements.txt /project/
COPY requirements.frozen.txt /project/
WORKDIR /project
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r requirements.frozen.txt

# Execution stage
FROM python:3.10
FROM python:3.11
WORKDIR /app
COPY src/ /project/src
# Retrieve packages from build stage
COPY --from=builder /usr/local/lib/python3.10/site-packages/ /usr/local/lib/python3.10/site-packages/
COPY --from=builder /usr/local/lib/python3.11/site-packages/ /usr/local/lib/python3.11/site-packages/
RUN pip install gunicorn==20.1.0
# Source code
COPY src/ /app/src/
Expand Down

0 comments on commit 9bba586

Please sign in to comment.