-
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.
This reverts commit 7025b11.
- Loading branch information
Showing
4 changed files
with
24 additions
and
245 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,12 +1,9 @@ | ||
FROM node:lts AS runtime | ||
FROM node:lts AS build | ||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
RUN npm install | ||
RUN npm i | ||
RUN npm run build | ||
|
||
ENV HOST=0.0.0.0 | ||
ENV PORT=4321 | ||
EXPOSE 4321 | ||
CMD node ./dist/server/entry.mjs | ||
FROM httpd:2.4 AS runtime | ||
COPY --from=build /app/dist /usr/local/apache2/htdocs/ | ||
EXPOSE 80 |
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.