We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46ded1a commit 5bcbaf8Copy full SHA for 5bcbaf8
Dockerfile
@@ -50,11 +50,9 @@ 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
56
-RUN chmod 644 $(find . -type f)
57
-RUN chmod 755 $(find . -type d)
+RUN chmod 644 $(find ./app/ -type f)
+RUN chmod 755 $(find ./app/ -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