Skip to content

Commit

Permalink
Add platform and pip version to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerlcleung committed Oct 10, 2024
1 parent cf6428a commit 5b7ce87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM python:3.9
FROM --platform=linux/amd64 python:3.9

ENV PYTHONUNBUFFERED=1

WORKDIR /api
COPY requirements.txt /api/
RUN pip install --upgrade pip
RUN pip install --upgrade pip==24.0
RUN pip install -r requirements.txt

0 comments on commit 5b7ce87

Please sign in to comment.