Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
RauhanAhmed committed Dec 19, 2023
1 parent cb0dd49 commit 99ce064
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM python:3.11.5-slim
WORKDIR /api
COPY . /api
RUN sudo apt-get install libgomp1
RUN apt-get update && apt-get install -y
RUN apt-get -y install curl
RUN apt-get install libgomp1
RUN pip3 install pandas fastapi uvicorn u8darts lightgbm joblib libgomp1
EXPOSE 8000
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]

0 comments on commit 99ce064

Please sign in to comment.