Princeaka commited on
Commit
857b851
·
verified ·
1 Parent(s): 3e6e915

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -7,13 +7,14 @@ RUN apt-get update && apt-get install -y \
7
  libxext6 \
8
  && rm -rf /var/lib/apt/lists/*
9
 
 
10
  WORKDIR /app
11
 
12
- # Copy files into container
13
  COPY . .
14
 
15
- # Make install script executable and run it
16
  RUN chmod +x install.sh && ./install.sh
17
 
18
- # Run app with Uvicorn
19
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
7
  libxext6 \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
+ # Set working directory
11
  WORKDIR /app
12
 
13
+ # Copy files
14
  COPY . .
15
 
16
+ # Install Python dependencies
17
  RUN chmod +x install.sh && ./install.sh
18
 
19
+ # Start server
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]