Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
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
gargantext
gargantext-ihaskell
Commits
9fa62b04
Commit
9fa62b04
authored
Nov 12, 2017
by
Vaibhav Sagar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dockerfile: update
parent
f80c2533
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Dockerfile
Dockerfile
+5
-5
No files found.
Dockerfile
View file @
9fa62b04
FROM
ubuntu:1
4
.04
FROM
ubuntu:1
6
.04
# Install all necessary Ubuntu packages
# Install all necessary Ubuntu packages
RUN
apt-get update
&&
apt-get
install
-y
python
-dev python-setuptools
libmagic-dev libtinfo-dev libzmq3-dev libcairo2-dev libpango1.0-dev libblas-dev liblapack-dev gcc g++
RUN
apt-get update
&&
apt-get
install
-y
python
3-pip
libmagic-dev libtinfo-dev libzmq3-dev libcairo2-dev libpango1.0-dev libblas-dev liblapack-dev gcc g++
# Install Jupyter notebook
# Install Jupyter notebook
RUN
easy_install
-U
pip
&&
pip
install
-U
jupyter
RUN
pip3
install
-U
jupyter
# Install stack from the FPComplete repositories.
# Install stack from the FPComplete repositories.
RUN
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv-keys
575159689BEFB442
&&
\
RUN
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv-keys
575159689BEFB442
&&
\
...
@@ -37,7 +37,7 @@ RUN stack build && stack install
...
@@ -37,7 +37,7 @@ RUN stack build && stack install
# Run the notebook
# Run the notebook
RUN
mkdir
/notebooks
RUN
mkdir
/notebooks
ENV
PATH /ihaskell/.stack-work/install/x86_64-linux/
nightly-2015-08-15/7.10.2/bin:/root/.stack/snapshots/x86_64-linux/nightly-2015-08-15/7.10.2/bin:/root/.stack/programs/x86_64-linux/ghc-7.1
0.2/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV
PATH /ihaskell/.stack-work/install/x86_64-linux/
lts-9.12/8.0.2/bin:/root/.stack/snapshots/x86_64-linux/lts-9.12/8.0.2/bin:/root/.stack/programs/x86_64-linux/ghc-8.
0.2/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN
ihaskell
install
RUN
ihaskell
install
ENTRYPOINT
stack exec -- jupyter notebook --NotebookApp.port=8888 '--NotebookApp.ip=*' --NotebookApp.notebook_dir=/notebooks
ENTRYPOINT
stack exec -- jupyter notebook --
allow-root --
NotebookApp.port=8888 '--NotebookApp.ip=*' --NotebookApp.notebook_dir=/notebooks
EXPOSE
8888
EXPOSE
8888
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