Dockerfile
This commit is contained in:
@@ -5,7 +5,8 @@ COPY package*.json ./
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build || (echo "BUILD FEHLGESCHLAGEN" && cat /app/npm-debug.log || true)
|
RUN npm run build && test -d dist || (echo "dist/ NICHT gefunden" && ls -la /app && exit 1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|||||||
Reference in New Issue
Block a user