Skip to content

Commit f829630

Browse files
committed
don't install dev/test dependencies
1 parent 3b421b4 commit f829630

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Docker/PlexAniSync/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ RUN pipx --global install poetry
1616
# setup user, bash default shell
1717
RUN useradd app -m -s /bin/bash
1818
RUN mkdir -p /config && chown -R app /config
19+
20+
# switch user and shell used following commands
1921
USER app
2022
SHELL ["/bin/bash", "-c"]
2123

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

2830
# install app dependencies
29-
RUN poetry install --no-interaction --no-ansi --no-cache --quiet
31+
RUN poetry install --without dev,test --no-interaction --no-ansi --no-cache --quiet
3032

3133
# activate venv
3234
RUN source $(poetry env info --path)/bin/activate

0 commit comments

Comments
 (0)