mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-12-23 13:33:18 +00:00
18 lines
261 B
Text
18 lines
261 B
Text
|
# Builder
|
||
|
FROM node:10-alpine as builder
|
||
|
|
||
|
WORKDIR /src
|
||
|
|
||
|
COPY . /src
|
||
|
RUN yarn --network-timeout=100000 install
|
||
|
RUN yarn build
|
||
|
|
||
|
|
||
|
# App
|
||
|
FROM nginx:alpine
|
||
|
|
||
|
COPY --from=builder /src/build /app
|
||
|
|
||
|
RUN rm -rf /usr/share/nginx/html \
|
||
|
&& ln -s /app /usr/share/nginx/html
|