Skip to content

Commit 77496de

Browse files
committed
fix add package to path
1 parent 5bcbaf8 commit 77496de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}
5050
COPY --from=models ${NLTK_DATA} ${NLTK_DATA}
5151
COPY --from=models ${MODEL_PATH} ${MODEL_PATH}
5252

53+
RUN export PYTHONPATH=$PYTHONPATH:/app/app
54+
5355
# Set permissions so files and directories can be accessed on AWS
5456
RUN chmod 644 $(find ./app/ -type f)
5557
RUN chmod 755 $(find ./app/ -type d)

0 commit comments

Comments
 (0)