dechets-agglo-muretain/Dockerfile
2021-01-09 11:51:31 +01:00

15 lines
366 B
Docker

FROM node:15.1.0 as builder
WORKDIR /project
COPY package-lock.json /project/package-lock.json
RUN npm ci
# use separate layer for more efficient caching
COPY package.json /project/package.json
COPY snowpack.config.js /project/snowpack.config.js
COPY src /project/src
RUN npm run build
FROM pierrezemb/gostatic:latest
COPY --from=builder /project/build /srv/http