-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added workflow for registration-admin
- Loading branch information
Showing
4 changed files
with
52 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.turbo | ||
dist | ||
build | ||
node_modules | ||
.env* |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM node:18-alpine AS builder | ||
RUN apk add --no-cache libc6-compat | ||
RUN apk update | ||
|
||
WORKDIR /app | ||
|
||
RUN npm install -g pnpm turbo | ||
|
||
COPY ../../. . | ||
|
||
RUN apk add --no-cache \ | ||
build-base \ | ||
cairo-dev \ | ||
pango-dev \ | ||
jpeg-dev \ | ||
giflib-dev \ | ||
librsvg \ | ||
python3 | ||
|
||
ENV PYTHON=/usr/bin/python3 | ||
|
||
RUN pnpm install | ||
|
||
RUN pnpm run build --filter=registration-admin... | ||
|
||
FROM node:18-alpine | ||
|
||
EXPOSE 3004 | ||
CMD ["pnpm", "run", "dev"] |
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