mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 12:25:11 +00:00
- add Dockerfile for web builds - helps with ansible deployments Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
10 lines
No EOL
280 B
Docker
10 lines
No EOL
280 B
Docker
FROM cirrusci/flutter as builder
|
|
RUN sudo apt update && sudo apt install curl -y
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN ./scripts/prepare-web.sh
|
|
RUN ./scripts/build-web.sh
|
|
|
|
FROM docker.io/nginx:alpine
|
|
RUN rm -rf /usr/share/nginx/html
|
|
COPY --from=builder /app/build/web /usr/share/nginx/html |