Some checks failed
Release / meta (push) Successful in 14s
Release / web-build (push) Has been cancelled
Release / release-dev (push) Has been cancelled
Release / release-master (push) Has been cancelled
Release / linux-build (push) Has been cancelled
Release / android-build (push) Has been cancelled
11 lines
315 B
Docker
11 lines
315 B
Docker
FROM nginx:1.27-alpine
|
|
|
|
# Use a minimal Nginx image to serve the built Flutter web app.
|
|
# Assumes `flutter build web` has already populated build/web/ in the build context.
|
|
COPY deploy/web/nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY build/web /usr/share/nginx/html
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|