Merge pull request #4315 from overleaf/jpa-import-ce-scripts

[scripts] import scripts from server-ce and add tests

GitOrigin-RevId: 07e7e15aa86030ccd3eca40ed40e5492622dc2d1
This commit is contained in:
Jakob Ackermann
2021-07-14 12:41:10 +00:00
committed by Copybot
parent 8066668cf2
commit 8742a29d80
10 changed files with 264 additions and 1 deletions
+1
View File
@@ -50,6 +50,7 @@ RUN chmod 0755 ./install_deps.sh && ./install_deps.sh
FROM webpack as app
RUN find /app/public -name '*.js.map' -delete
RUN rm /app/modules/server-ce-scripts -rf
USER node
CMD ["node", "--expose-gc", "app.js"]