mirror of
https://github.com/timokz/flutter-vienna-hackathon-25.git
synced 2025-11-08 19:24:19 +01:00
server: dockerfile: add todos for improvements
Signed-off-by: Max R. Carrara <max@aequito.sh>
This commit is contained in:
parent
33c98019bb
commit
5b8b317e89
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
# Build stage
|
||||
FROM dart:3.5.0 AS build
|
||||
WORKDIR /app
|
||||
# TODO: more fine-grained building
|
||||
COPY . .
|
||||
|
||||
# Install dependencies and compile the server executable
|
||||
|
|
@ -23,6 +24,7 @@ COPY --from=build /runtime/ /
|
|||
COPY --from=build /app/bin/server server
|
||||
|
||||
# Copy configuration files and resources
|
||||
# TODO: don't copy entire config dir, only what's needed
|
||||
COPY --from=build /app/config/ config/
|
||||
COPY --from=build /app/web/ web/
|
||||
COPY --from=build /app/migrations/ migrations/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue