9 lines
176 B
Docker
9 lines
176 B
Docker
FROM node:lts as builder
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN npm install && \
|
|
npm run-script package
|
|
|
|
FROM nginx:latest
|
|
COPY --from=builder /app/dist/twigs /usr/share/nginx/html
|
|
|