diff --git a/dockerfile b/dockerfile index 8be1f97..e2c6c4b 100644 --- a/dockerfile +++ b/dockerfile @@ -54,13 +54,5 @@ RUN arch=$(uname -m) && \ # install poetry via pipx RUN pipx install poetry -# Download dependencies as a separate step to take advantage of Docker's caching. -# Leverage a cache mount to /root/.cache/pip to speed up subsequent builds. -# Leverage a bind mount to requirements.txt to avoid having to copy them into -# into this layer. -# RUN --mount=type=cache,target=/root/.cache/pip \ -# --mount=type=bind,source=requirements.txt,target=requirements.txt \ -# python -m pip install -r requirements.txt - # Switch to the non-privileged user to run the application. USER appuser