mirror of
https://github.com/penpot/penpot.git
synced 2025-01-04 13:50:12 -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
|
enableTelemetry: false
|
||||||
|
|
||||||
|
httpTimeout: 600000
|
||||||
|
|
||||||
nodeLinker: node-modules
|
nodeLinker: node-modules
|
||||||
|
|
|
@ -90,7 +90,7 @@ RUN set -eux; \
|
||||||
cd /opt/node; \
|
cd /opt/node; \
|
||||||
tar -xf /tmp/nodejs.tar.gz --strip-components=1; \
|
tar -xf /tmp/nodejs.tar.gz --strip-components=1; \
|
||||||
chown -R root /opt/node; \
|
chown -R root /opt/node; \
|
||||||
npm install -g yarn; \
|
corepack enable; \
|
||||||
rm -rf /tmp/nodejs.tar.gz; \
|
rm -rf /tmp/nodejs.tar.gz; \
|
||||||
mkdir -p /opt/penpot; \
|
mkdir -p /opt/penpot; \
|
||||||
chown -R penpot:penpot /opt/penpot;
|
chown -R penpot:penpot /opt/penpot;
|
||||||
|
@ -101,7 +101,8 @@ WORKDIR /opt/penpot/exporter
|
||||||
USER penpot:penpot
|
USER penpot:penpot
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
yarn --network-timeout 1000000; \
|
yarn config set httpTimeout 600000; \
|
||||||
yarn --network-timeout 1000000 run playwright install chromium;
|
yarn install; \
|
||||||
|
yarn run playwright install chromium;
|
||||||
|
|
||||||
CMD ["node", "app.js"]
|
CMD ["node", "app.js"]
|
||||||
|
|
Loading…
Reference in a new issue