Commit a6575fa7 authored by Daniel Dehennin's avatar Daniel Dehennin
Browse files

feat(docker): add Dockerfile

parent 24575d8f
FROM node:12 AS build
ARG NODE_ENV=production
RUN mkdir /src
COPY . /src
RUN yarn install
RUN yarn generate
FROM nginx:alpine
COPY --from=build /src/public /usr/share/nginx/html
VOLUME /usr/share/nginx/html
VOLUME /etc/nginx
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment