cdb_ui/Dockerfile
2024-09-13 22:44:35 +02:00

12 lines
281 B
Docker

FROM git.hydrar.de/hydra/flutter AS build-env
# Copy files to container and build
RUN mkdir /app/
COPY . /app/
WORKDIR /app/
RUN flutter pub get
RUN flutter build web
# Create the run-time image
FROM nginx:1.21.1-alpine
COPY --from=build-env /app/build/web /usr/share/nginx/html