Neurolingua commited on
Commit
225dc8e
1 Parent(s): 31db65f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -5
Dockerfile CHANGED
@@ -1,6 +1,12 @@
1
- FROM python:3.9
2
- WORKDIR /code
3
- COPY ./requirements.txt /code/requirements.txt
4
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
5
- COPY . /code
 
 
 
 
 
 
6
  CMD ["python", "app.py"]
 
1
+ FROM python:3.9-slim
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ libgl1-mesa-glx \
5
+ libglib2.0-0 \
6
+ && rm -rf /var/lib/apt/lists/*
7
+
8
+ WORKDIR /code
9
+ COPY ./requirements.txt /code/requirements.txt
10
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
+ COPY . /code
12
  CMD ["python", "app.py"]