-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
51 lines (36 loc) · 1.14 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM node:17
ARG CR_PAT
ENV CR_PAT=$CR_PAT
LABEL org.opencontainers.image.title = "CMNW"
LABEL org.opencontainers.image.vendor = "AlexZeDim"
LABEL org.opencontainers.image.url = "https://i.imgur.com/CY0Kqy3.png"
LABEL org.opencontainers.image.source = "https://github.com/AlexZeDim/cmnw"
RUN apt-get update
RUN apt-get install -y git
WORKDIR /usr/src/app
RUN npm install -g @nestjs/cli
RUN git config --global url."https://alexzedim:${CR_PAT}@github.com/".insteadOf "https://github.com/"
RUN git clone https://github.com/AlexZeDim/cmnw-secrets.git
RUN mv cmnw-secrets/* cmnw-secrets/.[^.]* . && rmdir cmnw-secrets/
COPY package.json ./
RUN yarn install
COPY . .
RUN nest build conglomerat \
&& nest build osint \
&& nest build dma \
&& nest build keys \
&& nest build gold \
&& nest build items \
&& nest build ladder \
&& nest build guilds \
&& nest build realms \
&& nest build pricing \
&& nest build auctions \
&& nest build contracts \
&& nest build discord \
&& nest build wowtoken \
&& nest build valuations \
&& nest build characters \
&& nest build wowprogress \
&& nest build warcraft-logs
CMD wait && ["node"]