gahanmakwana commited on
Commit
6cd5e85
·
1 Parent(s): 9b6ff65

changed docker

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -7,6 +7,7 @@ WORKDIR /app
7
  # Install system dependencies
8
  RUN apt-get update && apt-get install -y \
9
  libgl1-mesa-glx \
 
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
  # Install Python dependencies
@@ -19,8 +20,8 @@ COPY . .
19
  # Set environment variable for port
20
  ENV PORT=8080
21
 
22
- # Expose the port (optional, Railway handles it)
23
  EXPOSE 8080
24
 
25
- # Start the app using Gunicorn, binding to 0.0.0.0:$PORT
26
  CMD ["gunicorn", "--bind", "0.0.0.0:8080", "app:app"]
 
7
  # Install system dependencies
8
  RUN apt-get update && apt-get install -y \
9
  libgl1-mesa-glx \
10
+ libgomp1 \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
  # Install Python dependencies
 
20
  # Set environment variable for port
21
  ENV PORT=8080
22
 
23
+ # Expose the port
24
  EXPOSE 8080
25
 
26
+ # Start the app
27
  CMD ["gunicorn", "--bind", "0.0.0.0:8080", "app:app"]