avinash.b пре 1 година
родитељ
комит
3b0e283a9c
1 измењених фајлова са 4 додато и 3 уклоњено
  1. 4
    3
      Attendence/Dockerfile

+ 4
- 3
Attendence/Dockerfile Прегледај датотеку

4
 # Set the working directory in the container
4
 # Set the working directory in the container
5
 WORKDIR /opt/attendance
5
 WORKDIR /opt/attendance
6
 
6
 
7
-# Copy the current directory contents into the container at /usr/src/app
7
+# Copy the current directory contents into the container at /opt/attendance
8
 COPY . .
8
 COPY . .
9
 
9
 
10
 # Install any needed packages specified in requirements.txt
10
 # Install any needed packages specified in requirements.txt
11
-RUN pip install --no-cache-dir -r requirements.txt
11
+RUN apt update && apt install -y libgl1-mesa-glx && apt --fix-broken install && \
12
+    pip install --no-cache-dir -r requirements.txt
12
 
13
 
13
-# Make port 80 available to the world outside this container
14
+# Make port 5003 available to the world outside this container
14
 EXPOSE 5003
15
 EXPOSE 5003
15
 
16
 
16
 # Run app.py when the container launches
17
 # Run app.py when the container launches

Loading…
Откажи
Сачувај