This commit is contained in:
2019-02-21 18:42:11 +01:00
parent 9e9e1910a0
commit 4dcb5bf397
3 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y \
vim \
default-jdk \
python3 \
python3-pip
RUN pip3 install lxml pandas
ENV PYTHONIOENCODING UTF-8

View File

@@ -0,0 +1,13 @@
IMAGE_NAME="python-java"
all: build run
build:
docker build . -t $(IMAGE_NAME)
run:
docker run \
-it \
-v $(shell pwd)/../../:/cjvt-srl-tagging \
python-java \
/bin/bash

View File

@@ -0,0 +1,15 @@
You might want to mount this whole repo into the docker container.
Also mount data locations.
Example container:
```bash
$ docker build . -t my_python
$ docker run \
-it \
-v $(echo $(cd ../..; pwd)):/cjvt-srl-tagging \
python_java \
/bin/bash
```
## Usage
Run `make` from this directory, to build and run.