Browse Source

Use alpine images in dockerfile

pull/79/head
garritfra 5 years ago
parent
commit
8fbcbfe59e
  1. 4
      Dockerfile

4
Dockerfile

@ -1,9 +1,9 @@
FROM node
FROM node:10-alpine
COPY . /app
WORKDIR /app
RUN npm install && npm run build
FROM nginx
FROM nginx:alpine
COPY --from=0 /app/dist /usr/share/nginx/html
EXPOSE 80
Loading…
Cancel
Save