-
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
69 changed files
with
2,014 additions
and
678 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM node:alpine | ||
|
||
ARG DATABASE_URL | ||
ARG JWT_SECRET | ||
ARG PORT=3000 | ||
ARG HOST=0.0.0.0 | ||
ARG JWT_EXPIRES_IN="60s" | ||
|
||
ENV DATABASE_URL=$DATABASE_URL | ||
ENV JWT_SECRET=$JWT_SECRET | ||
ENV PORT=$PORT | ||
ENV JWT_EXPIRES_IN=$JWT_EXPIRES_IN | ||
ENV HOST=$HOST | ||
|
||
COPY . . | ||
|
||
RUN npm ci | ||
|
||
RUN npm run build | ||
|
||
EXPOSE $PORT | ||
|
||
CMD node ./dist/server/entry.mjs |
Oops, something went wrong.