Install app as non-editable in dockerfile

This commit is contained in:
Donkie
2023-07-10 11:46:35 +02:00
parent 247df66736
commit 6173cf1d27

View File

@@ -25,7 +25,7 @@ RUN pip install pip setuptools wheel\
COPY --chown=app:app pyproject.toml /home/app/spoolman/
COPY --chown=app:app pdm.lock /home/app/spoolman/
WORKDIR /home/app/spoolman
RUN pdm sync --prod
RUN pdm sync --prod --no-editable
# Copy and install app
COPY --chown=app:app migrations /home/app/spoolman/migrations