Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. # Build step
  2. FROM node:12.8 as build
  3. WORKDIR /app
  4. COPY ./priv/admin .
  5. RUN npm install
  6. RUN npm run-script build --frozen-lockfile --non-interactive
  7.  
  8. # Release step
  9. FROM nginx:1.17.2-alpine
  10. COPY ./priv/admin/nginx/default.conf /etc/nginx/conf.d/default.conf
  11. COPY --from=build /app/build /usr/share/nginx/html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement