forked from mdh266/TextClassificationApp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (31 loc) · 930 Bytes
/
Dockerfile
File metadata and controls
44 lines (31 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright (c) Mike Harmon.
# Distributed under the terms of the Modified BSD License.
FROM jupyter/base-notebook
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
USER root
# Install all OS dependencies for fully functional notebook server
RUN apt-get update && apt-get install -yq --no-install-recommends \
build-essential \
git \
libsm6 \
libxext-dev \
libxrender1 \
lmodern \
netcat \
texlive-fonts-extra \
texlive-fonts-recommended \
texlive-generic-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-xetex \
unzip \
vim \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/*
USER $NB_UID
RUN mkdir /home/$NB_USER/NLP && \
fix-permissions /home/$NB_USER/NLP
COPY requirements.txt /home/$NB_USER/NLP
COPY NLP.ipynb /home/$NB_USER/NLP
RUN pip install -r /home/$NB_USER/NLP/requirements.txt
USER $NB_UID