try new container build
All checks were successful
Build and Push Multi-Arch Docker Image / build-and-push (push) Successful in 11m23s
All checks were successful
Build and Push Multi-Arch Docker Image / build-and-push (push) Successful in 11m23s
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -8,7 +8,8 @@ RUN dart pub get
|
||||
|
||||
# Copy app source code (except anything in .dockerignore) and AOT compile app.
|
||||
COPY . .
|
||||
RUN APP_VERSION=$(awk '/^version:/{print $2}' pubspec.yaml) && \
|
||||
RUN dart run build_runner build --delete-conflicting-outputs && \
|
||||
APP_VERSION=$(grep 'version:' pubspec.yaml | sed 's/version: //') && \
|
||||
dart compile exe bin/server.dart -o bin/server \
|
||||
-DAPP_VERSION=$APP_VERSION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user