Skip to content

Commit

Permalink
Merge branch 'site'
Browse files Browse the repository at this point in the history
  • Loading branch information
AmeMeida committed Aug 13, 2023
2 parents 6c5c40f + 6e24dce commit c5ae829
Show file tree
Hide file tree
Showing 69 changed files with 2,014 additions and 678 deletions.
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"arrowParens": "always",
"printWidth": 80,
"embeddedLanguageFormatting": "auto",
"quoteProps": "as-needed"
"quoteProps": "as-needed",
"bracketSameLine": true
}
23 changes: 23 additions & 0 deletions Dockerfile
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
Loading

0 comments on commit c5ae829

Please sign in to comment.