Skip to content

Commit

Permalink
Copy README.md in Docker image when building the Python package
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed May 25, 2020
1 parent 7a1f1f2 commit fd0687a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*
!CMakeLists.txt
!README.md
!cli
!cmake
!include
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ RUN mkdir build && \
VERBOSE=1 make -j4 && \
make install

ENV LANG=C.UTF-8
COPY README.md .
COPY python python

WORKDIR /root/ctranslate2-dev/python
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile.centos7-gpu
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ RUN mkdir build && \
VERBOSE=1 make -j4 && \
make install

ENV LANG=C.UTF-8
COPY README.md .
COPY python python

WORKDIR /root/ctranslate2-dev/python
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ RUN mkdir build && \
VERBOSE=1 make -j4 && \
make install

ENV LANG=C.UTF-8
COPY README.md .
COPY python python

WORKDIR /root/ctranslate2-dev/python
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile.ubuntu-gpu
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ RUN mkdir build && \
VERBOSE=1 make -j4 && \
make install

ENV LANG=C.UTF-8
COPY README.md .
COPY python python

WORKDIR /root/ctranslate2-dev/python
Expand Down

0 comments on commit fd0687a

Please sign in to comment.