build with sull safety

This commit is contained in:
Fransolet Thomas 2023-01-27 22:34:26 +01:00
parent a4c1f406b6
commit ebba934d49

View File

@ -16,7 +16,7 @@ RUN flutter upgrade
RUN mkdir /app/ RUN mkdir /app/
COPY . /app/ COPY . /app/
WORKDIR /app/ WORKDIR /app/
RUN flutter build web --no-sound-null-safety RUN flutter build web
#--no-sound-null-safety #--no-sound-null-safety
# Stage 2 - Create the run-time image # Stage 2 - Create the run-time image
FROM nginx:1.21.1-alpine FROM nginx:1.21.1-alpine