This commit is contained in:
JMARyA 2024-09-05 12:05:28 +02:00
parent 5717d79a5f
commit 89bfbd2cb8
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 44 additions and 0 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
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/web