Skip to content

Commit 46ded1a

Browse files
committed
changed workdir
1 parent 9f4198f commit 46ded1a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ 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+
WORKDIR /app
54+
5355
# Set permissions so files and directories can be accessed on AWS
54-
RUN chmod 644 $(find ./app/ -type f)
55-
RUN chmod 755 $(find ./app/ -type d)
56+
RUN chmod 644 $(find . -type f)
57+
RUN chmod 755 $(find . -type d)
5658

5759
# The entrypoint for AWS is to invoke the handler function within the app package
5860
CMD [ "python -m app.handler" ]

0 commit comments

Comments
 (0)