Skip to content

Commit

Permalink
feat(docker): increase basic memory (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
EagleoutIce committed Sep 12, 2024
2 parents 2d77a1b + 3751173 commit 61b913a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions scripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ COPY ./package.json ./package-lock.json ./tsconfig.json /app/
RUN npm ci && npm run build


FROM node:22.6-alpine3.19 AS flowR
FROM node:22.6-alpine3.19 AS flowr

LABEL author="Florian Sihler" git="https://github.com/flowr-analysis/flowr"

Expand All @@ -34,4 +34,11 @@ COPY --from=builder /app/dist /app/dist

RUN rm -rf /app/**/tsconfig.tsbuildinfo /app/dist/**/*.d.ts

ENTRYPOINT ["node", "/app/dist/cli/flowr.js"]
ENTRYPOINT [\
"node",\
# configure basic memory options
"--max-old-space-size=8192",\
"--stack-size=8192",\
"--max-semi-space-size=8192",\
"/app/dist/cli/flowr.js"\
]

0 comments on commit 61b913a

Please sign in to comment.