Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sdone44 committed Mar 12, 2024
1 parent 9e723f9 commit 600d8d2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,14 @@ RUN --mount=type=bind,target=./pyproject.toml,src=./pyproject.toml \
--mount=type=cache,target=/root/.cache/pip \
--mount=type=cache,target=/root/.cache/pypoetry \
python -m venv /ak-root/venv/ && \
/bin/bash -c "source /ak-root/venv/bin/activate" && \
/bin/bash -c "source /ak-root/venv/bin/activate && \
pip3 install --upgrade pip && \
pip3 install poetry && \
poetry config virtualenvs.create false --local &&\
poetry install --only=main --no-ansi --no-interaction
poetry config virtualenvs.create false --local && \
poetry install --only=main --no-ansi --no-interaction --no-root"

RUN ls /ak-root/venv/bin
RUN ls /usr/local/bin/

# Stage 6: Run
FROM docker.io/python:3.11.5-slim-bookworm AS final-image
Expand Down

0 comments on commit 600d8d2

Please sign in to comment.