-
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.
style(turbo): improved visual style of Dockerfiles
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 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 @@ | ||
FROM node:20.14.0-alpine3.19 AS base | ||
|
||
FROM base as builder | ||
FROM base AS builder | ||
WORKDIR /app | ||
RUN yarn global add [email protected] | ||
COPY . . | ||
|
@@ -12,6 +12,6 @@ COPY --from=builder /app/out/json/ . | |
COPY --from=builder /app/out/yarn.lock ./yarn.lock | ||
RUN yarn workspaces focus @turbo/cms --production | ||
COPY --from=builder /app/out/full/ . | ||
RUN yarn dlx [email protected] run build --filter=@turbo/cms... | ||
ENTRYPOINT ["yarn", "dlx", "[email protected]", "run", "start", "--filter=@turbo/cms..."] | ||
RUN yarn build | ||
CMD ["yarn", "start"] | ||
EXPOSE 1337 |
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
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