Skip to content

Commit

Permalink
fix: 👷 Github actions shared
Browse files Browse the repository at this point in the history
add required package with image Python 3.12-slim
  • Loading branch information
BRUVRY-LAGADEC committed Nov 28, 2024
1 parent 9d95bf7 commit 0487545
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions example-python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ LABEL org.opencontainers.image.vendor="Advance Marine Research Infrastructures T
# Install Poetry for dependency management.
ENV POETRY_HOME=/opt/poetry
ENV PATH="${POETRY_HOME}/bin:${PATH}"
RUN mkdir -p /opt/poetry/project /opt/poetry/bin
RUN curl -sSL https://install.python-poetry.org | python -

RUN \
apt -y update && \
apt -y install curl && \
apt clean && \
mkdir -p /opt/poetry/project /opt/poetry/bin && \
curl -sSL https://install.python-poetry.org | python -

# Install dependencies.
COPY pyproject.toml poetry*.lock README.md /opt/poetry/project/
Expand Down

0 comments on commit 0487545

Please sign in to comment.