Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SMASCH
scheduling-system
Merge requests
!316
Merge 1.0.1
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Merge 1.0.1
merge-1.0.1
into
master
Overview
0
Commits
26
Pipelines
2
Changes
2
Merged
Piotr Gawron
requested to merge
merge-1.0.1
into
master
4 years ago
Overview
0
Commits
26
Pipelines
2
Changes
2
Expand
0
0
Merge request reports
Viewing commit
19ab0db2
Prev
Next
Show latest version
2 files
+
13
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
19ab0db2
fix npm install in docker
· 19ab0db2
Piotr Gawron
authored
4 years ago
Dockerfile
+
11
−
0
Options
@@ -8,6 +8,17 @@ RUN pip install -r requirements.txt --default-timeout=180 -i https://pypi.lcsb.u
ADD
. /code/
RUN
cp
local_settings_ci.py smash/smash/local_settings.py
WORKDIR
/code/smash
ENV
NODE_VERSION=12.6.0
RUN
apt
install
-y
curl
RUN
curl
-o-
https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
ENV
NVM_DIR=/root/.nvm
RUN
.
"
$NVM_DIR
/nvm.sh"
&&
nvm
install
${
NODE_VERSION
}
RUN
.
"
$NVM_DIR
/nvm.sh"
&&
nvm use v
${
NODE_VERSION
}
RUN
.
"
$NVM_DIR
/nvm.sh"
&&
nvm
alias
default v
${
NODE_VERSION
}
ENV
PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"
RUN
node
--version
RUN
npm
--version
RUN
npm
install
ENTRYPOINT
[ "/bin/sh" ]
CMD
[ "manage.py runserver 0.0.0.0:8002" ]
Loading