MySafeCode commited on
Commit
8ecea10
·
verified ·
1 Parent(s): d16b46c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -5
Dockerfile CHANGED
@@ -2,11 +2,11 @@ FROM python:3.9-slim
2
 
3
  # Install system dependencies for pygame
4
  RUN apt-get update && apt-get install -y \
5
- libsdl2-mixer-2.0-0 \
6
- libsdl2-image-2.0-0 \
7
- libsdl2-2.0-0 \
8
- libsdl2-ttf-2.0-0 \
9
- && rm -rf /var/lib/apt/lists/*
10
 
11
  WORKDIR /app
12
 
@@ -14,6 +14,8 @@ WORKDIR /app
14
  COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
 
 
17
 
18
  # Hugging Face uses port 7860
19
  ENV PORT=7860
 
2
 
3
  # Install system dependencies for pygame
4
  RUN apt-get update && apt-get install -y \
5
+ libsdl2-mixer-2.0-0 \
6
+ libsdl2-image-2.0-0 \
7
+ libsdl2-2.0-0 \
8
+ libsdl2-ttf-2.0-0 \
9
+ && rm -rf /var/lib/apt/lists/*
10
 
11
  WORKDIR /app
12
 
 
14
  COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
17
+ # Copy all application files
18
+ COPY . .
19
 
20
  # Hugging Face uses port 7860
21
  ENV PORT=7860