Skip to content

Commit

Permalink
fix(docker): missing dep in client dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Feb 8, 2024
1 parent d0edcfd commit 1c4889a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LABEL org.opencontainers.image.licenses=Apache-2.0
##################################################
FROM python as poetry

WORKDIR /app
# Install poetry
ENV POETRY_HOME=/opt/poetry
ENV POETRY_VIRTUALENVS_IN_PROJECT=true
Expand All @@ -21,6 +22,7 @@ RUN python -c 'from urllib.request import urlopen; print(urlopen("https://instal
# Copy necessary files only
COPY ./modo/ ./modo
COPY ./pyproject.toml ./pyproject.toml
COPY ./README.md ./README.md
COPY ./poetry.lock ./poetry.lock
RUN apt-get update && \
apt-get install -y gcc
Expand All @@ -41,6 +43,6 @@ RUN useradd -ms /bin/bash modo_user
USER modo_user

# Test run
RUN modo --version
RUN modo --help

CMD ["modo"]

0 comments on commit 1c4889a

Please sign in to comment.