Refactor Dockerfile: Remove non-root user switch to streamline the build process.

This commit is contained in:
2026-01-05 18:20:15 -03:00
parent 62e4c010c0
commit fe968244b5

View File

@@ -31,9 +31,6 @@ COPY --from=base /usr/src/app/node_modules ./node_modules
# Copy any additional files needed for runtime # Copy any additional files needed for runtime
COPY --from=base /usr/src/app/static ./static COPY --from=base /usr/src/app/static ./static
# Switch to non-root user
USER sveltekit
# Expose the port that the app runs on # Expose the port that the app runs on
EXPOSE 5173 EXPOSE 5173