Skip to content

Commit

Permalink
chore: roll back to python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
biodrone committed Mar 1, 2023
1 parent 2d6c7cd commit de7fa61
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile.server
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Export packages from poetry and save
# to venv to avoid building them later
FROM python:3.11-slim-bullseye as deps
FROM python:3.10-slim-bullseye as deps
ENV VIRTUAL_ENV=/opt/venv
RUN "apt install -y build-essentials"
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY . .
Expand All @@ -11,7 +10,7 @@ RUN poetry export --without-hashes -o requirements.txt
RUN pip install -r requirements.txt

# Python Protobuf Server
FROM python:3.11-slim-bullseye as server
FROM python:3.10-slim-bullseye as server
WORKDIR /app
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
Expand Down

0 comments on commit de7fa61

Please sign in to comment.