2
0
mirror of https://gitlab.com/famedly/fluffychat.git synced 2025-04-23 02:17:51 +02:00

10 lines
290 B
Docker

FROM ghcr.io/cirruslabs/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