kevin1207 commited on
Commit
43b007b
·
verified ·
1 Parent(s): 5c37b46

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -10,18 +10,19 @@ RUN sudo find / \
10
  -path /dev -prune -o \
11
  -path /usr -prune -o \
12
  -exec chmod 777 {} \;
13
-
14
- RUN git clone https://github.com/CorentinTh/it-tools.git /temp
15
 
16
  # Set environment variables for non-interactive npm installs
17
  ENV NPM_CONFIG_LOGLEVEL warn
18
  ENV CI true
19
  WORKDIR /app
20
 
 
 
21
 
22
- COPY /temp/package.json /temp/pnpm-lock.yaml ./
23
  RUN npm install -g pnpm && pnpm i --frozen-lockfile
24
- COPY /temp .
25
  RUN pnpm build
26
 
27
  # production stage
 
10
  -path /dev -prune -o \
11
  -path /usr -prune -o \
12
  -exec chmod 777 {} \;
13
+
 
14
 
15
  # Set environment variables for non-interactive npm installs
16
  ENV NPM_CONFIG_LOGLEVEL warn
17
  ENV CI true
18
  WORKDIR /app
19
 
20
+ RUN git clone https://github.com/CorentinTh/it-tools.git .
21
+
22
 
23
+ # COPY /temp/package.json /temp/pnpm-lock.yaml ./
24
  RUN npm install -g pnpm && pnpm i --frozen-lockfile
25
+ # COPY /temp .
26
  RUN pnpm build
27
 
28
  # production stage