mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
8 lines
298 B
Docker
8 lines
298 B
Docker
FROM node:10.15.2 as node
|
|
COPY . /shlink-web-client
|
|
RUN cd /shlink-web-client && yarn install && yarn 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
|