Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -3,6 +3,8 @@ FROM python:3.9-slim
|
|
| 3 |
# Install system dependencies including FontForge
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
fontforge \
|
|
|
|
|
|
|
| 6 |
python3-dev \
|
| 7 |
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
|
|
@@ -10,7 +12,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
COPY requirements.txt .
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
-
# Copy the application code
|
| 14 |
COPY app.py .
|
| 15 |
COPY create_font.pe .
|
| 16 |
|
|
|
|
| 3 |
# Install system dependencies including FontForge
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
fontforge \
|
| 6 |
+
wget \
|
| 7 |
+
build-essential \
|
| 8 |
python3-dev \
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
|
|
|
| 12 |
COPY requirements.txt .
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
| 15 |
+
# Copy the application code
|
| 16 |
COPY app.py .
|
| 17 |
COPY create_font.pe .
|
| 18 |
|