Skip to content

Commit

Permalink
style(turbo): improved visual style of Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
kired01 committed Jun 9, 2024
1 parent 2e5ba3a commit 9bed764
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
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 . .
Expand All @@ -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
2 changes: 1 addition & 1 deletion apps/client/Dockerfile
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 turbo
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion apps/cms/Dockerfile
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 turbo
COPY . .
Expand Down

0 comments on commit 9bed764

Please sign in to comment.