shlink-web-client/Dockerfile
2019-04-14 21:58:10 +02:00

8 lines
307 B
Docker

FROM node:10.15.3-alpine as node
COPY . /shlink-web-client
RUN cd /shlink-web-client && npm install && npm run build
FROM nginx:1.15.9-alpine
LABEL maintainer="Alejandro Celaya <alejandro@alejandrocelaya.com>"
RUN rm -r /usr/share/nginx/html
COPY --from=node /shlink-web-client/build /usr/share/nginx/html