Skip to content

Commit

Permalink
fix: Fixes dependency paths while executing commands. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavofreze authored Dec 15, 2024
1 parent 1f0a232 commit f2779da
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ LABEL author="Gustavo Freze" \
org.label-schema.name="gustavofreze/auto-assign" \
org.label-schema.schema-version="1.0"

ARG VENV_PATH=/app/.venv

ENV PIP_PATH=${VENV_PATH}/bin/pip
ENV POETRY_NO_INTERACTION=1
ENV POETRY_VIRTUALENVS_IN_PROJECT=true

WORKDIR /app

COPY pyproject.toml ./
Expand All @@ -19,7 +13,6 @@ RUN pip install --upgrade pip poetry \
&& poetry config virtualenvs.in-project true \
&& poetry install --sync --no-root

COPY .venv ./
COPY src ./src

CMD [".venv/bin/python", "-m", "src.main"]
CMD ["/app/.venv/bin/python", "-m", "src.main"]

0 comments on commit f2779da

Please sign in to comment.