Skip to content

Commit

Permalink
feat: moved esbuild to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed May 15, 2024
1 parent 8edd478 commit c5d7271
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ FROM dependency-base AS production
COPY . .

ENV NODE_ENV=production
RUN npx prisma generate
RUN pnpm prisma generate
RUN pnpm build
ENV PORT=3000

RUN useradd -m myuser
USER myuser
CMD npx prisma db push && pnpm start
CMD pnpm prisma db push && pnpm start

HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/healthz || exit 1
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"document-model": "1.1.0-experimental.1",
"document-model-libs": "^1.45.0",
"dotenv": "^16.4.5",
"esbuild": "^0.21.2",
"ethers": "^5.7.2",
"express": "^4.19.2",
"express-async-errors": "^3.1.1",
Expand Down Expand Up @@ -62,7 +63,6 @@
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitest/coverage-istanbul": "^0.29.8",
"esbuild": "^0.21.2",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
Expand Down
54 changes: 27 additions & 27 deletions api/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5d7271

Please sign in to comment.