File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 32
32
run : npm ci
33
33
env :
34
34
NODE_AUTH_TOKEN : ${{ secrets.READER_TOKEN }}
35
- PUPPETEER_CACHE_DIR : ' /tmp '
35
+ PUPPETEER_CACHE_DIR : ' /puppeteer '
36
36
- name : Build application
37
37
run : npm run build
38
38
- name : Build and push docker image
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ FROM node:20-alpine
3
3
WORKDIR /app
4
4
5
5
ENV NODE_ENV=production
6
- ENV PUPPETEER_CACHE_DIR=/tmp
6
+ ENV PUPPETEER_CACHE_DIR=/tmp/puppeteer
7
7
8
8
COPY package*.json .env /app/
9
9
COPY node_modules /app/node_modules/
10
10
COPY server/dist /app/server/dist/
11
11
COPY server/package*.json /app/server/
12
12
COPY server/node_modules /app/server/node_modules/
13
- COPY tmp/ puppeteer /tmp/puppeteer/
13
+ COPY puppeteer /tmp/puppeteer/
14
14
15
15
EXPOSE 3399
16
16
CMD ["npm" , "run" , "start" ]
You can’t perform that action at this time.
0 commit comments