iAkashPaul commited on
Commit
32a2162
·
verified ·
1 Parent(s): f1b7d2e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim-bookworm
2
+ USER root
3
+ RUN apt update && apt install curl git gcc make build-essential -y
4
+ COPY requirements.txt /requirements.txt
5
+ RUN pip install -r /requirements.txt
6
+ COPY server.py /server.py
7
+ WORKDIR /
8
+ RUN chmod -R 777 /
9
+ EXPOSE 7860
10
+ CMD uvicorn server:app --reload --host 0.0.0.0 --port 7860