some changes on server

This commit is contained in:
2019-02-28 09:40:25 +01:00
parent 60ac569f40
commit dcc2935c3c
5 changed files with 176 additions and 7 deletions

View File

@@ -5,7 +5,8 @@ RUN apt-get install -y \
vim \
default-jdk \
python3 \
python3-pip
python3-pip \
sshfs
RUN pip3 install lxml pandas sklearn

View File

@@ -5,14 +5,16 @@ all: build run
build:
docker build . -t $(IMAGE_NAME)
run:
docker run \
-it \
--user $(shell id -u):$(shell id -g) \
-it \
-v /home/${USER}:/home/${USER} \
--user $(shell id -u):$(shell id -g) \
-v /etc/passwd:/etc/passwd \
-v /etc/group:/etc/group \
-v $(shell pwd)/../../:/cjvt-srl-tagging \
-v $(shell pwd)/../../:/cjvt-srl-tagging \
-w /cjvt-srl-tagging \
python-java \
/bin/bash
-v /home/kristjan/kres_mount:/kres_mount:ro \
python-java \
/bin/bash