mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 11:36:24 +01:00
10 lines
226 B
Docker
10 lines
226 B
Docker
FROM docker.io/node:alpine as builder
|
|
RUN apk add --no-cache git python3 build-base
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN yarn install \
|
|
&& yarn build
|
|
|
|
FROM docker.io/nginx:alpine
|
|
COPY --from=builder /app/target /usr/share/nginx/html
|