Skip to content

Commit

Permalink
Change dataflow default workdir to /src (kubeflow#330)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
IronPan authored and Yixin Shi committed Nov 30, 2018
1 parent a1ed211 commit e01b760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code_search/docker/t2t/Dockerfile.dataflow
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e01b760

Please sign in to comment.