Change dataflow default workdir to /src (#330)

Otherwise when I want to execute dataflow code 
```
python2 -m code_search.dataflow.cli.create_function_embeddings \
```
it complains no setup.py

I could workaround by using workingdir container API but setting it to default would be more convenient.
This commit is contained in:
Yang Pan 2018-11-11 15:37:59 -08:00 committed by k8s-ci-robot
parent 65e89a599b
commit c6ff5dbef8
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,6 @@ RUN python -m spacy download en
ADD src/code_search /app/code_search
ADD src /src
WORKDIR /app
WORKDIR /src
ENV PYTHONIOENCODING=utf-8 T2T_USR_DIR=/app/code_search/t2t