-
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.
refactor(ci): mix ui and api in one repo
- Loading branch information
Showing
188 changed files
with
50,981 additions
and
7,538 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
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,10 +1,12 @@ | ||
FROM node:18-alpine AS build | ||
FROM oven/bun | ||
|
||
WORKDIR /app | ||
COPY package*.json ./ | ||
RUN npm ci --silent | ||
COPY . . | ||
RUN npm run build | ||
|
||
FROM nginx:stable | ||
COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
EXPOSE 5173 | ||
|
||
COPY ./server/package.json . | ||
RUN bun i --production | ||
COPY ./server . | ||
|
||
ENV NODE_ENV=production | ||
CMD ["bun", "run", "index.ts"] | ||
|
||
EXPOSE 3000 |
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
Oops, something went wrong.