Use venv in docker to try fix build issues
This commit is contained in:
@@ -17,7 +17,9 @@ LABEL org.opencontainers.image.licenses=MIT
|
|||||||
RUN adduser -D app
|
RUN adduser -D app
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
ENV PATH="/home/app/.local/bin:${PATH}"
|
RUN python -m venv /home/app/.venv
|
||||||
|
|
||||||
|
ENV PATH="/home/app/.venv/bin:${PATH}"
|
||||||
|
|
||||||
# Copy and install app
|
# Copy and install app
|
||||||
COPY --chown=app:app spoolman /home/app/spoolman/spoolman
|
COPY --chown=app:app spoolman /home/app/spoolman/spoolman
|
||||||
|
|||||||
Reference in New Issue
Block a user