Files
about/Dockerfile
2018-09-28 15:45:56 -04:00

13 lines
317 B
Docker

FROM node:8 as build
WORKDIR /build
COPY package.json ./
RUN npm install
COPY .bowerrc bower.json ./
RUN npm run bower install
COPY . .
RUN npm run pub
FROM nginx:mainline as runtime
COPY --from=build /build /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
COPY default.conf /etc/nginx/conf.d/default.conf