Skip to content
Snippets Groups Projects
Commit e2726618 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

CI: set NODE_OPTIONS in the docker file

parent c3ce096a
No related branches found
No related tags found
No related merge requests found
Pipeline #30655 failed
image: registry.gitlab.tugraz.at/dbp/topics/signature/main:v1
variables:
NODE_OPTIONS: '--max-old-space-size=4096'
cache:
key: $CI_PROJECT_PATH
paths:
......
......@@ -41,4 +41,7 @@ RUN mkdir -p "${COMPOSER_HOME}"
ADD composer.lock "${COMPOSER_HOME}"
ADD composer.json "${COMPOSER_HOME}"
RUN composer global install
ENV PATH "${COMPOSER_HOME}/vendor/bin:${PATH}"
\ No newline at end of file
ENV PATH "${COMPOSER_HOME}/vendor/bin:${PATH}"
# https://stackoverflow.com/questions/53230823
ENV NODE_OPTIONS '--max-old-space-size=2048'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment