Skip to content

Commit 26b2949

Browse files
committed
Set PYTHONPATH in Dockerfile and updated CMD entrypoint format
1 parent 29775c9 commit 26b2949

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ RUN dnf install -y git findutils && dnf clean all
77

88
WORKDIR /app
99

10+
ENV PYTHONPATH=/app
11+
1012
# Copy and install any packages/modules needed for your evaluation script.
1113
COPY requirements.txt .
1214
RUN pip3 install -r requirements.txt
@@ -57,4 +59,4 @@ RUN chmod 644 $(find . -type f)
5759
RUN chmod 755 $(find . -type d)
5860

5961
# The entrypoint for AWS is to invoke the handler function within the app package
60-
CMD [ "/app/app.handler" ]
62+
CMD [ "app.handler" ]

0 commit comments

Comments
 (0)