We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f4198f commit 46ded1aCopy full SHA for 46ded1a
1 file changed
Dockerfile
@@ -50,9 +50,11 @@ COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}
50
COPY --from=models ${NLTK_DATA} ${NLTK_DATA}
51
COPY --from=models ${MODEL_PATH} ${MODEL_PATH}
52
53
+WORKDIR /app
54
+
55
# Set permissions so files and directories can be accessed on AWS
-RUN chmod 644 $(find ./app/ -type f)
-RUN chmod 755 $(find ./app/ -type d)
56
+RUN chmod 644 $(find . -type f)
57
+RUN chmod 755 $(find . -type d)
58
59
# The entrypoint for AWS is to invoke the handler function within the app package
60
CMD [ "python -m app.handler" ]
0 commit comments