smraux commited on
Commit
a76d84b
·
1 Parent(s): 04dc698

Add missing library installation in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,6 +1,9 @@
1
  # Use a base image with Conda installed
2
  FROM continuumio/miniconda3
3
 
 
 
 
4
  # Set the working directory in the container
5
  WORKDIR /usr/src/app
6
 
@@ -27,4 +30,4 @@ EXPOSE 80
27
  ENV NAME World
28
 
29
  # Run your application
30
- CMD ["conda", "run", "-n", "fooocus", "python3", "./entry_with_update.py", "--preset", "realistic"]
 
1
  # Use a base image with Conda installed
2
  FROM continuumio/miniconda3
3
 
4
+ # Install the missing library
5
+ RUN apt-get update && apt-get install -y libgl1-mesa-glx && rm -rf /var/lib/apt/lists/*
6
+
7
  # Set the working directory in the container
8
  WORKDIR /usr/src/app
9
 
 
30
  ENV NAME World
31
 
32
  # Run your application
33
+ CMD ["conda", "run", "-n", "fooocus", "python3", "./entry_with_update.py", "--preset", "realistic"]