Skip to content

Commit

Permalink
don't install dev/test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hollanbm committed May 12, 2024
1 parent 3b421b4 commit f829630
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Docker/PlexAniSync/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN pipx --global install poetry
# setup user, bash default shell
RUN useradd app -m -s /bin/bash
RUN mkdir -p /config && chown -R app /config

# switch user and shell used following commands
USER app
SHELL ["/bin/bash", "-c"]

Expand All @@ -26,7 +28,7 @@ COPY pyproject.toml poetry.lock PlexAniSync.py custom_mappings_schema.json Docke
COPY plexanisync /plexanisync/plexanisync

# install app dependencies
RUN poetry install --no-interaction --no-ansi --no-cache --quiet
RUN poetry install --without dev,test --no-interaction --no-ansi --no-cache --quiet

# activate venv
RUN source $(poetry env info --path)/bin/activate
Expand Down

0 comments on commit f829630

Please sign in to comment.