Skip to content

Commit

Permalink
Change dataflow default workdir to /src (#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 k8s-ci-robot committed Nov 11, 2018
1 parent 65e89a5 commit c6ff5db
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 c6ff5db

Please sign in to comment.