mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 09:30:31 +03:00
8 lines
305 B
Docker
8 lines
305 B
Docker
FROM node:10.15.3-alpine 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
|