SakibAhmed commited on
Commit
c06eaa7
·
verified ·
1 Parent(s): a20d61d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -6,7 +6,7 @@ WORKDIR /app
6
 
7
  # Install system dependencies
8
  RUN apt-get update && apt-get install -y --no-install-recommends \
9
- libgl1-mesa-glx \
10
  libglib2.0-0 \
11
  && rm -rf /var/lib/apt/lists/*
12
 
@@ -28,7 +28,7 @@ RUN chown -R user:user /app
28
  # Switch to the non-root user
29
  USER user
30
 
31
- # Expose the port Flask app will run on (Hugging Face standard)
32
  EXPOSE 7860
33
 
34
  # Set environment variables for Flask host and port
 
6
 
7
  # Install system dependencies
8
  RUN apt-get update && apt-get install -y --no-install-recommends \
9
+ libgl1 \
10
  libglib2.0-0 \
11
  && rm -rf /var/lib/apt/lists/*
12
 
 
28
  # Switch to the non-root user
29
  USER user
30
 
31
+ # Expose the port Gunicorn will run on (Using 7860 as in CMD)
32
  EXPOSE 7860
33
 
34
  # Set environment variables for Flask host and port