move dockerfile
This commit is contained in:
parent
dfb19e3448
commit
b8a801edd8
@ -54,7 +54,7 @@ COPY --from=builder /app/dist ./dist
|
||||
|
||||
# Vérifier que main.js existe
|
||||
RUN ls -la dist/ && \
|
||||
if [ ! -f dist/main.js ]; then echo "ERROR: dist/main.js not found!"; exit 1; fi
|
||||
if [ ! -f dist/main.js ]; then echo "ERROR: src/dist/main.js not found!"; exit 1; fi
|
||||
|
||||
# Créer un utilisateur non-root
|
||||
RUN addgroup -g 1001 -S nodejs && \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user