Skip to content

Commit

Permalink
⬆️ upgrade python in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Burg committed Nov 27, 2023
1 parent 9c394b9 commit 26fbbb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.ghostnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Builder stage
FROM python:3.9.12-slim AS builder
FROM python:3.11-slim AS builder
RUN apt-get update && \
apt-get install -y libpq-dev gcc libgmp-dev libsodium-dev
# Create the virtual environment
Expand All @@ -10,8 +10,9 @@ COPY requirements.txt .
RUN pip install -r requirements.txt
# Install pytest
RUN pip install pytest

# Operational stage
FROM python:3.9.12-slim
FROM python:3.11-slim
RUN apt-get update && \
apt-get install -y libpq-dev libsodium-dev vim procps
# && \ rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 26fbbb0

Please sign in to comment.