diff --git a/Dockerfile b/Dockerfile index 4b186b258f7..ddb865b4831 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ COPY . . # Copy package files COPY package.json pnpm-lock.yaml ./ -# Install all dependencies, skipping postinstall +# Install all dependencies RUN --mount=type=cache,target=/home/appuser/.pnpm-store \ pnpm install --frozen-lockfile && \ rm -rf /home/appuser/.pnpm-store/* @@ -44,4 +44,4 @@ ENV VITE_BYPASS_LOGIN=1 \ EXPOSE $PORT # Start the app in development mode -CMD ["pnpm", "run", "start:podman"] \ No newline at end of file +CMD ["pnpm", "run", "start:podman"]