ChevalierJoseph commited on
Commit
fd33894
·
verified ·
1 Parent(s): ea5cf87

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM python:3.9-slim
2
 
3
- # Install system dependencies
4
  RUN apt-get update && apt-get install -y \
5
  fontforge \
6
  && rm -rf /var/lib/apt/lists/*
@@ -9,8 +9,9 @@ RUN apt-get update && apt-get install -y \
9
  COPY requirements.txt .
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
- # Copy the application code
13
- COPY . .
 
14
 
15
  # Set the working directory
16
  WORKDIR /app
 
1
  FROM python:3.9-slim
2
 
3
+ # Install system dependencies including FontForge
4
  RUN apt-get update && apt-get install -y \
5
  fontforge \
6
  && rm -rf /var/lib/apt/lists/*
 
9
  COPY requirements.txt .
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
+ # Copy the application code and scripts
13
+ COPY app.py .
14
+ COPY create_font.pe .
15
 
16
  # Set the working directory
17
  WORKDIR /app