Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
develogo committed Oct 24, 2024
1 parent cbda8e9 commit c6faeb7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

FROM fischerscode/flutter:stable AS build

WORKDIR /app

USER flutter

COPY --chown=flutter:flutter . .

RUN flutter pub get

RUN flutter build web --release

FROM nginx:latest

COPY --from=build /app/build/web /usr/share/nginx/html

0 comments on commit c6faeb7

Please sign in to comment.