Skip to content

Commit

Permalink
node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
wereHamster committed Jun 7, 2024
1 parent 598a289 commit d36d04b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16
FROM node:18

WORKDIR /app

Expand All @@ -8,7 +8,7 @@ RUN yarn install --frozen-lockfile --ignore-engines
COPY . .
RUN echo '{}' > src/wiki-content.json

ENV NODE_OPTIONS=--max_old_space_size=16000
ENV NODE_OPTIONS="--max_old_space_size=16000 --openssl-legacy-provider"
RUN yarn next build

CMD ./node_modules/.bin/next start

0 comments on commit d36d04b

Please sign in to comment.