-
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.
Merge pull request #21 from zazuko/trifid-v5
Trifid v5
- Loading branch information
Showing
6 changed files
with
1,745 additions
and
2,417 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,16 +1,16 @@ | ||
FROM docker.io/library/node:20-alpine | ||
|
||
# build the app | ||
# Build the app | ||
WORKDIR /app | ||
COPY package.json package-lock.json ./ | ||
ENV NODE_ENV="production" | ||
RUN npm ci | ||
COPY . . | ||
|
||
# run as the "node" user | ||
# Run as the "node" user | ||
USER 1000 | ||
|
||
# expose the HTTP service under the unprivileged (>1024) http-alt port | ||
# Expose the HTTP service under the unprivileged (>1024) http-alt port | ||
EXPOSE 8080 | ||
|
||
CMD [ "npm", "run", "start" ] |
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.