Skip to content
Snippets Groups Projects
Commit 4a7a9b16 authored by Ilia Eriomenco's avatar Ilia Eriomenco
Browse files

ci: updated packagechanged condition in Dockerfile-production-test

parent d08f9e60
No related branches found
No related tags found
No related merge requests found
Pipeline #18852 failed with stage
in 0 seconds
......@@ -34,12 +34,12 @@ COPY package.json .
COPY yarn.lock .
# Install production node modules for server use
RUN if [[ -z "$packagechanged" ]] ; then echo packagechanged not provided ; yarn install --frozen-lockfile --production=true ; fi
RUN if [[ -z "$packagechanged" ]] ; then echo packagechanged not provided ; else yarn install --frozen-lockfile --production=true ; fi
# Copy to another folder for later use
RUN mv node_modules production_node_modules
# Install development node modules for building webpack bundle
RUN if [[ -z "$packagechanged" ]] ; then echo packagechanged not provided ; yarn install --frozen-lockfile --production=false ; fi
RUN if [[ -z "$packagechanged" ]] ; then echo packagechanged not provided ; else yarn install --frozen-lockfile --production=false ; fi
COPY . .
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment