File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,12 @@ RUN yarn config set network-timeout 1200000
32
32
33
33
RUN apt update && apt -y install --no-install-recommends ca-certificates git git-lfs openssh-client curl jq cmake sqlite3 openssl psmisc python3
34
34
35
- # RUN apt-get update && apt-get install gnupg wget -y && \
36
- # wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
37
- # sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \
38
- # apt-get update && \
39
- # apt-get install google-chrome-stable -y --no-install-recommends && \
40
- # rm -rf /var/lib/apt/lists/*
35
+ RUN apt -y install libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libxi6 libxtst6 libnss3 libcups2 libxss1 libxrandr2 libasound2 libatk1.0-0 libatk-bridge2.0-0 libpangocairo-1.0-0 libgtk-3-0
41
36
42
37
RUN apt -y install g++ make
43
- # RUN npm install -g node-gyp
38
+
44
39
RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/
40
+
45
41
RUN npm --no-update-notifier --no-fund --global install pnpm
46
42
# Copy API
47
43
COPY --from=server /app/dist/ .
@@ -59,6 +55,4 @@ RUN yarn install --production --frozen-lockfile
59
55
60
56
ENV NODE_ENV=production
61
57
62
- # ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome-stable
63
-
64
58
CMD ["yarn" , "start" ]
You can’t perform that action at this time.
0 commit comments