diff --git a/frontend/Dockerfile b/frontend/Dockerfile new file mode 100644 index 0000000..2e63451 --- /dev/null +++ b/frontend/Dockerfile @@ -0,0 +1,13 @@ +FROM ghcr.io/cirruslabs/flutter:3.32.6 AS build +WORKDIR /app + +COPY . . + +RUN flutter pub get +RUN flutter build web --release + +FROM nginx:alpine +COPY --from=build /app/build/web /usr/share/nginx/html + +EXPOSE 80 +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file