Skip to content

Commit

Permalink
chore: use node 20 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored May 27, 2023
1 parent 7d8e6ea commit bc0df3e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:18-alpine AS deps
FROM node:20-alpine AS deps
WORKDIR /app
RUN npm install -g pnpm
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile

FROM node:18-alpine AS builder
FROM node:20-alpine AS builder
WORKDIR /app
RUN npm install -g pnpm
COPY . .
Expand All @@ -13,7 +13,7 @@ RUN pnpm build
RUN pnpm prune --prod


FROM node:18-alpine AS runner
FROM node:20-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.2.3",
"@types/node": "^20.2.5",
"@types/prettier": "^2.7.2",
"tsc-watch": "^6.0.4",
"typescript": "^5.0.4"
},
"dependencies": {
"@effect-http/client": "^0.26.1",
"@effect/data": "^0.12.2",
"@effect/data": "^0.12.3",
"@effect/io": "^0.25.13",
"@effect/schema": "^0.19.3",
"@effect/stream": "^0.21.1",
"dfx": "^0.45.10",
"dotenv": "^16.0.3",
"effect-schema-class": "^0.2.4",
"effect-schema-class": "^0.3.0",
"html-entities": "^2.3.3",
"openai": "^3.2.1",
"prettier": "^2.8.8"
Expand Down
36 changes: 18 additions & 18 deletions pnpm-lock.yaml

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

0 comments on commit bc0df3e

Please sign in to comment.