diff options
| author | ertopogo <erwin.t.pombett@gmail.com> | 2026-01-18 23:18:36 +0100 |
|---|---|---|
| committer | ertopogo <erwin.t.pombett@gmail.com> | 2026-01-18 23:18:36 +0100 |
| commit | e0c9c32c60b67dc34a18f5a93209393e7abc8660 (patch) | |
| tree | 73ce807582f2b85c377537fa8a58cd5ac59ce4c5 /storefront/Dockerfile | |
| parent | e01100156ffddfb4975e1aa7518744c2f0e3801a (diff) | |
docs: ajoute la doc et les commandes pour corriger les erreurs Docker
- met à jour INSTALLATION.md
- ajuste le Dockerfile et la config Next.js
- ajoute le dossier public (gitkeep)
Diffstat (limited to 'storefront/Dockerfile')
| -rw-r--r-- | storefront/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storefront/Dockerfile b/storefront/Dockerfile index b6c1da8..b3f5cb8 100644 --- a/storefront/Dockerfile +++ b/storefront/Dockerfile @@ -2,7 +2,7 @@ FROM node:18-alpine AS deps
WORKDIR /app
COPY package.json yarn.lock* package-lock.json* ./
-RUN npm ci
+RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi
# Rebuild the source code only when needed
FROM node:18-alpine AS builder
|
