Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Kotahi
Manage
Activity
Members
Labels
Plan
Issues
330
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
31
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kotahi
Kotahi
Commits
4a7a9b16
Commit
4a7a9b16
authored
3 years ago
by
Ilia Eriomenco
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile-production-test
+2
-2
2 additions, 2 deletions
Dockerfile-production-test
with
2 additions
and
2 deletions
Dockerfile-production-test
+
2
−
2
View file @
4a7a9b16
...
@@ -34,12 +34,12 @@ COPY package.json .
...
@@ -34,12 +34,12 @@ COPY package.json .
COPY yarn.lock .
COPY yarn.lock .
# Install production node modules for server use
# 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
# Copy to another folder for later use
RUN mv node_modules production_node_modules
RUN mv node_modules production_node_modules
# Install development node modules for building webpack bundle
# 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 . .
COPY . .
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment