Skip to content

Commit

Permalink
pin docker base image to 3.11 python for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeifer committed Oct 3, 2023
1 parent 674bfd1 commit 11bbfe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build python venv for inclusion into image
FROM python:slim-bookworm as APP
FROM python:3.11-slim-bookworm as APP
RUN apt-get update && apt-get install -y git python3-venv
WORKDIR /opt/swoop/api
RUN python3 -m venv --copies swoop-api-venv
Expand All @@ -9,7 +9,7 @@ RUN ./swoop-api-venv/bin/pip install -r requirements.txt
RUN --mount=source=.git,target=.git,type=bind git clone . clone
RUN ./swoop-api-venv/bin/pip install ./clone

FROM python:slim-bookworm
FROM python:3.11-slim-bookworm

ENV SWOOP_CONFIG_FILE=swoop-config.yml

Expand Down

0 comments on commit 11bbfe3

Please sign in to comment.