Skip to content

Commit ebdc803

Browse files
committed
updated dockerfile command
1 parent e4b0d0d commit ebdc803

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

week_8_serverless/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ RUN dvc init --no-scm
2121
# configuring remote server in dvc
2222
RUN dvc remote add -d model-store s3://models-dvc/trained_models/
2323

24-
RUN cat .dvc/config
2524
# pulling the trained model
2625
RUN dvc pull dvcfiles/trained_model.dvc
2726

2827
ENV LC_ALL=C.UTF-8
2928
ENV LANG=C.UTF-8
29+
ENV PYTHONPATH "${PYTHONPATH}:./"
30+
31+
RUN ls
3032

3133
# running the application
32-
EXPOSE 8000
33-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
34+
CMD [ "lambda_handler.lambda_handler" ]

0 commit comments

Comments
 (0)