mirror of
https://github.com/penpot/penpot.git
synced 2025-01-02 04:40:09 -05:00
🐛 Fix exporter dockerfile issue related to yarn update
This commit is contained in:
parent
79fbbe0bee
commit
352c13881a
2 changed files with 6 additions and 3 deletions
|
@ -6,4 +6,6 @@ enableImmutableInstalls: false
|
|||
|
||||
enableTelemetry: false
|
||||
|
||||
httpTimeout: 600000
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
|
|
@ -90,7 +90,7 @@ RUN set -eux; \
|
|||
cd /opt/node; \
|
||||
tar -xf /tmp/nodejs.tar.gz --strip-components=1; \
|
||||
chown -R root /opt/node; \
|
||||
npm install -g yarn; \
|
||||
corepack enable; \
|
||||
rm -rf /tmp/nodejs.tar.gz; \
|
||||
mkdir -p /opt/penpot; \
|
||||
chown -R penpot:penpot /opt/penpot;
|
||||
|
@ -101,7 +101,8 @@ WORKDIR /opt/penpot/exporter
|
|||
USER penpot:penpot
|
||||
|
||||
RUN set -ex; \
|
||||
yarn --network-timeout 1000000; \
|
||||
yarn --network-timeout 1000000 run playwright install chromium;
|
||||
yarn config set httpTimeout 600000; \
|
||||
yarn install; \
|
||||
yarn run playwright install chromium;
|
||||
|
||||
CMD ["node", "app.js"]
|
||||
|
|
Loading…
Reference in a new issue