Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
6f4898ab
Commit
6f4898ab
authored
Dec 14, 2016
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added nginx and php handling inside main dockerfile
parent
93e5bce1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Dockerfile
setup/dockers/comex2_services/Dockerfile
+6
-5
No files found.
setup/dockers/comex2_services/Dockerfile
View file @
6f4898ab
...
...
@@ -6,7 +6,6 @@ FROM ubuntu:xenial
# Base
ENV
HOST 0.0.0.0
ENV
DEBUG_FLAG false
ENV
LANG fr_FR.UTF-8
ENV
DEBIAN_FRONTEND noninteractive
...
...
@@ -15,15 +14,17 @@ RUN dpkg-reconfigure locales
# Install global dependencies and utilities
RUN
apt update
&&
apt autoclean
# if without nginx add php7.0-fpm php7.0-mysql
RUN
apt
install
-y
python3-pip libmysqlclient-dev git nano tree iputils-ping
RUN
apt
install
-y
python3-pip libmysqlclient-dev git nano tree iputils-ping nginx-full php7.0-fpm php7.0-mysql
RUN
pip3
install
--upgrade
pip
# for comex2 itself ----------------------------------------------------------
# pull the comex server from repository
RUN
echo
"updating git"
# pull the comex server from repository...
RUN
git clone https://github.com/moma/comex2.git
# ...or copy it locally
# RUN echo updating
# ADD comex2 /comex2
# Install project dependencies
RUN
pip3
install
-r
comex2/setup/requirements.txt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment