Adopt nginx:mainline
This commit is contained in:
committed by
Dat H. Pham
parent
040ea89ff5
commit
ace46fc103
+1
-1
@@ -40,7 +40,7 @@ RUN cd core \
|
|||||||
&& flutter build web --profile
|
&& flutter build web --profile
|
||||||
|
|
||||||
# Stage 2 - Create the run-time image
|
# Stage 2 - Create the run-time image
|
||||||
FROM nginx:stable
|
FROM nginx:mainline
|
||||||
RUN chmod -R 755 /usr/share/nginx/html && apt install -y gzip
|
RUN chmod -R 755 /usr/share/nginx/html && apt install -y gzip
|
||||||
COPY --from=build-env /app/server/nginx.conf /etc/nginx
|
COPY --from=build-env /app/server/nginx.conf /etc/nginx
|
||||||
COPY --from=build-env /app/build/web /usr/share/nginx/html
|
COPY --from=build-env /app/build/web /usr/share/nginx/html
|
||||||
|
|||||||
Reference in New Issue
Block a user