Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -19,14 +19,17 @@ RUN apt-get update && \
|
|
19 |
libsqlite3-dev \
|
20 |
&& rm -rf /var/lib/apt/lists/*
|
21 |
|
22 |
-
#
|
23 |
COPY requirements.txt .
|
|
|
|
|
24 |
RUN pip install --no-cache-dir -r requirements.txt
|
25 |
|
26 |
# Install sqlite-web
|
27 |
RUN pip install sqlite-web
|
28 |
|
29 |
-
# Copy application
|
|
|
30 |
COPY . .
|
31 |
|
32 |
# Ensure the entrypoint script has execution permissions
|
|
|
19 |
libsqlite3-dev \
|
20 |
&& rm -rf /var/lib/apt/lists/*
|
21 |
|
22 |
+
# Copy Python requirements file
|
23 |
COPY requirements.txt .
|
24 |
+
|
25 |
+
# Install Python dependencies
|
26 |
RUN pip install --no-cache-dir -r requirements.txt
|
27 |
|
28 |
# Install sqlite-web
|
29 |
RUN pip install sqlite-web
|
30 |
|
31 |
+
# Copy the entrypoint script and other application files
|
32 |
+
COPY entrypoint.sh /app/entrypoint.sh
|
33 |
COPY . .
|
34 |
|
35 |
# Ensure the entrypoint script has execution permissions
|