Legger med env

This commit is contained in:
Håkon Størdal 2025-09-03 00:47:10 +02:00
parent 8eb5de2571
commit 7518d19049

View file

@ -46,9 +46,6 @@ RUN npm ci --only=production && npm cache clean --force
COPY --from=base --chown=svelte:nodejs /app/build ./build
COPY --from=base --chown=svelte:nodejs /app/package.json ./package.json
# Copy environment file if it exists (optional)
COPY --chown=svelte:nodejs .env* ./ || true
# Switch to the non-root user
USER svelte