Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
13 |
COPY . .
|
14 |
|
15 |
-
#
|
16 |
RUN chmod +x install.sh && ./install.sh
|
17 |
|
18 |
-
#
|
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"]
|