- typsafe vanilla_error_reporter.ts
Some checks failed
CI Pipeline / japa-tests (push) Failing after 59s

- updated Dockerfole for using node 20
- remove validator_old.ts
- npm updates
This commit is contained in:
Kaimbacher 2024-05-21 14:41:10 +02:00
parent ec17d79cf2
commit 770e791613
9 changed files with 204 additions and 381 deletions

View file

@ -1,7 +1,7 @@
################## First Stage - Creating base #########################
# Created a variable to hold our node base image
ARG NODE_IMAGE=node:18-bookworm-slim
ARG NODE_IMAGE=node:20-bookworm-slim
FROM $NODE_IMAGE AS base
# Install dumb-init and ClamAV, and perform ClamAV database update
@ -67,7 +67,8 @@ COPY --chown=node:node . .
# In this stage, we will start building dependencies
FROM dependencies AS build
# We run "node ace build" to build the app (dist folder) for production
RUN node ace build --production
RUN node ace build # --production
# RUN node ace build --ignore-ts-errors
################## Final Stage - Production #########################