diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..eccf7d8 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +inject-workspace-packages=true diff --git a/Containerfile b/Containerfile index 265ad48..ec47ba6 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as builder +FROM node:23-alpine as builder LABEL org.opencontainers.image.source="https://github.com/ARGA-Genomes/arga-frontend" LABEL org.opencontainers.image.description="A container image running the frontend server" LABEL org.opencontainers.image.licenses="AGPL-3.0" @@ -8,7 +8,7 @@ COPY . . RUN npm install -g pnpm && pnpm install && pnpm build && pnpm --filter arga-frontend --prod deploy pruned -FROM node:18-alpine +FROM node:23-alpine WORKDIR /usr/src/arga-frontend EXPOSE 3000 diff --git a/Containerfile-staging b/Containerfile-staging index c777cbb..cf958f9 100644 --- a/Containerfile-staging +++ b/Containerfile-staging @@ -1,4 +1,4 @@ -FROM node:18-alpine as builder +FROM node:23-alpine as builder LABEL org.opencontainers.image.source="https://github.com/ARGA-Genomes/arga-frontend" LABEL org.opencontainers.image.description="A container image running the frontend server" LABEL org.opencontainers.image.licenses="AGPL-3.0" @@ -8,7 +8,7 @@ COPY . . RUN npm install -g pnpm && pnpm install && pnpm build:staging && pnpm --filter arga-frontend --staging deploy pruned -FROM node:18-alpine +FROM node:23-alpine WORKDIR /usr/src/arga-frontend EXPOSE 3000