Skip to content

Commit

Permalink
Revert "chore(deps): update python docker tag to v3.12" (#2022)
Browse files Browse the repository at this point in the history
Reverts #2021
  • Loading branch information
njzjz authored Oct 3, 2023
1 parent 45cd5a0 commit 8508f63
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,4 +1,4 @@
FROM python:3.12 AS compile-image
FROM python:3.11 AS compile-image
RUN python -m venv /opt/venv
# Make sure we use the virtualenv
ENV PATH="/opt/venv/bin:$PATH"
Expand All @@ -7,7 +7,7 @@ COPY . /reacnetgenerator
RUN pip install /reacnetgenerator && \
reacnetgenerator -h

FROM python:3.12 AS build-image
FROM python:3.11 AS build-image
COPY --from=compile-image /opt/venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
CMD ["/bin/bash" ]

0 comments on commit 8508f63

Please sign in to comment.