File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM node:16-bullseye-slim
22
3- ARG GITLAB_REGISTRY_TOKEN=
4-
53RUN apt-get update --no-install-recommends && \
64 apt-get install -y --no-install-recommends curl=7.74.0-1.3+deb11u3 && \
75 rm -rf /var/lib/apt/lists/*
@@ -10,13 +8,7 @@ WORKDIR /home/node
108ENV NODE_ENV production
119COPY --chown=node:node . .
1210
13- RUN npm config set \
14- @polyflix:registry https://gitlab.polytech.umontpellier.fr/api/v4/projects/1343/packages/npm/ && \
15- npm config set -- \
16- '//gitlab.polytech.umontpellier.fr/api/v4/projects/1343/packages/npm/:_authToken' \
17- "${GITLAB_REGISTRY_TOKEN}" && \
18- npm install && \
19- rm -rf ~/.npm ~/.npmrc
11+ RUN npm install
2012
2113USER node
2214EXPOSE 5000
Original file line number Diff line number Diff line change 1- FROM gitlab.polytech.umontpellier.fr:5050 /polyflix-do/docker-images /psql-migration:latest
1+ FROM ghcr.io /polyflix/dependencies /psql-migration:main
22
33COPY ./dist/resources/migrations migrations
44
You can’t perform that action at this time.
0 commit comments