Commit 7d1efad8 authored by Jonas Verhoelen's avatar Jonas Verhoelen

dockerfile

parent 4f32bdaf
Pipeline #33918 failed
.git
.idea
node_modules
build
FROM node:8.12.0 as build-deps
WORKDIR /usr/src/app
COPY package.json package-lock.json ./
RUN npm install --progress=false --production
COPY ./src ./src
COPY ./public ./public
RUN npm run build
FROM nginx
COPY --from=build-deps /usr/src/app/build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
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