Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csentry
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
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
Anders Harrisson
csentry
Commits
dc12809b
Commit
dc12809b
authored
7 years ago
by
Benjamin Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Add uwsgi to run the server in production
parent
597a8a1e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+7
-0
7 additions, 0 deletions
Dockerfile
environment.yml
+1
-0
1 addition, 0 deletions
environment.yml
with
8 additions
and
0 deletions
Dockerfile
+
7
−
0
View file @
dc12809b
...
...
@@ -4,6 +4,13 @@ RUN groupadd -r ics && useradd -r -g ics ics
WORKDIR
/app
# uwsgi is currently not available on conda-forge
# for Python 3.6 - it needs to be installed with pip
# and that requires gcc
RUN
apt-get update
&&
apt-get
install
-y
\
gcc
\
&&
rm
-rf
/var/lib/apt/lists/
*
# Install inventory requirements
COPY
environment.yml /app/environment.yml
RUN
conda config
--add
channels conda-forge
\
...
...
This diff is collapsed.
Click to expand it.
environment.yml
+
1
−
0
View file @
dc12809b
...
...
@@ -64,4 +64,5 @@ dependencies:
-
sqlalchemy-citext==1.3.post0
-
sqlalchemy-continuum==1.3.1
-
sqlalchemy-utils==0.32.14
-
uwsgi==2.0.15
-
visitor==0.1.3
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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