Legger med env
This commit is contained in:
parent
8eb5de2571
commit
7518d19049
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue