Skip to content
Snippets Groups Projects
Commit e4b264a9 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed build script

parent d953796b
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@ FROM node:latest AS builder
COPY package*.json /build/
WORKDIR /build/
RUN npm install
RUN npm build
COPY . /build/
RUN npm run build
FROM nginx:latest
COPY --from=builder /build/ /usr/share/nginx/html/
COPY --from=builder /build /usr/share/nginx/html
......@@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "",
"scripts": {
"pug": "node_modules/pug-cli/index.js --basedir . **/index.pug index.pug"
"build": "node_modules/pug-cli/index.js --basedir . $(find . -name index.pug)"
},
"author": "Janne Koschinski",
"license": "GPL",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment