-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# syntax = docker/dockerfile:1.11 | ||
|
||
FROM scratch as backend-source | ||
FROM scratch AS backend-source | ||
|
||
COPY --link app/ /app/app/ | ||
COPY --link bootstrap/ /app/bootstrap/ | ||
|
@@ -13,7 +13,7 @@ COPY --link routes/ /app/routes/ | |
COPY --link storage/ /app/storage/ | ||
COPY --link artisan composer.json composer.lock /app/ | ||
|
||
FROM ubuntu:noble as backend-uncompressed | ||
FROM ubuntu:noble AS backend-uncompressed | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
|
@@ -60,7 +60,7 @@ RUN --mount=type=secret,id=composer_auth,dst=/app/auth.json,uid=33,gid=33,requir | |
|
||
# This target is the default, but skipped during pull request builds and in our recommended local build invocation | ||
# precompressed_assets var on the Nomad job must match whether this stage ran or not | ||
FROM backend-uncompressed as backend-compressed | ||
FROM backend-uncompressed AS backend-compressed | ||
|
||
RUN set -eux && \ | ||
cd /app/public/ && \ | ||
|