-
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
2 changed files
with
28 additions
and
28 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,13 +1,13 @@ | ||
FROM node:alpine AS build | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
RUN corepack enable | ||
FROM node:20-alpine AS build | ||
RUN apk add --no-cache --virtual build-dependencies build-base gcc python3 | ||
COPY . /usr/src/app | ||
WORKDIR /usr/src/app | ||
RUN corepack enable | ||
RUN pnpm install --force --frozen-lockfile | ||
RUN pnpm run build:cms | ||
|
||
FROM directus/directus | ||
USER node | ||
ENV ADMIN_EMAIL="[email protected]" | ||
ENV ADMIN_PASSWORD="d1r3ctu5" | ||
COPY --from=build ./usr/src/app/apps/cms/snapshot.yaml ./snapshot.yaml | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.