forked from tensorflow/tensor2tensor
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile-gpu
More file actions
26 lines (19 loc) · 692 Bytes
/
Copy pathDockerfile-gpu
File metadata and controls
26 lines (19 loc) · 692 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
FROM tensorflow/tensorflow:1.5.1-gpu
MAINTAINER Christoph Gebendorfer
RUN pip install sympy && \
pip install requests && \
pip install bz2file
RUN apt-get update && \
apt-get install nano -y
COPY . /etc/tensor2tensor
ENV PYTHONPATH /etc/tensor2tensor
ENV TMP_DIR /tmp/t2t_datagen
RUN mkdir -p /etc/tensor2tensor/data
RUN mkdir -p /etc/tensor2tensor/train
RUN mkdir -p /etc/tensor2tensor/decode
ENV DATA_DIR /etc/tensor2tensor/data
ENV TRAIN_DIR /etc/tensor2tensor/train
ENV DECODE_DIR /etc/tensor2tensor/decode
VOLUME ["/etc/tensor2tensor/data", "/etc/tensor2tensor/train", "/etc/tensor2tensor/decode"]
WORKDIR /etc/tensor2tensor/tensor2tensor/bin
ENTRYPOINT ["/bin/bash"]