Skip to content

Commit d220f41

Browse files
fix(docker): remove gitlab
1 parent e0b7b72 commit d220f41

File tree

5 files changed

+3380
-4302
lines changed

5 files changed

+3380
-4302
lines changed

Dockerfile

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
FROM node:16-bullseye-slim
22

3-
ARG GITLAB_REGISTRY_TOKEN=
4-
53
RUN 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
108
ENV NODE_ENV production
119
COPY --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

2113
USER node
2214
EXPOSE 5000

Dockerfile.migrations

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM gitlab.polytech.umontpellier.fr:5050/polyflix-do/docker-images/psql-migration:latest
1+
FROM ghcr.io/polyflix/dependencies/psql-migration:main
22

33
COPY ./dist/resources/migrations migrations
44

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ const message = new KafkaEventBuilder(id, element)
113113
.build();
114114

115115
this.kafkaClient.emit(FOO_TOPICS, message);
116-
```
116+
```

0 commit comments

Comments
 (0)