-
Notifications
You must be signed in to change notification settings - Fork 1
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
29 additions
and
46 deletions.
There are no files selected for viewing
46 changes: 0 additions & 46 deletions
46
.github/workflows/azure-static-web-apps-delightful-smoke-0b894a600.yml
This file was deleted.
Oops, something went wrong.
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 @@ | ||
ARG NODE_VERSION=20.18.0 | ||
|
||
FROM node:${NODE_VERSION}-slim AS build | ||
|
||
RUN corepack prepare yarn@stable --activate | ||
|
||
WORKDIR /app | ||
|
||
COPY ./package.json /app/ | ||
|
||
COPY ./yarn.lock /app/ | ||
|
||
RUN yarn install | ||
|
||
COPY . ./ | ||
|
||
RUN yarn build | ||
|
||
FROM node:${NODE_VERSION}-slim | ||
|
||
WORKDIR /app | ||
|
||
COPY --from=build /app/.output ./ | ||
|
||
ENV HOST=0.0.0.0 NODE_ENV=production | ||
|
||
EXPOSE 3000 | ||
|
||
CMD ["node","/app/server/index.mjs"] |
06465ae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
konkamon – ./
konkamon-bkozii.vercel.app
konkamon-git-main-bkozii.vercel.app
konkamon.vercel.app