Spaces:
Runtime error
Runtime error
Commit
·
52a80db
1
Parent(s):
c7f8880
new issue
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
FROM python:3.9
|
|
|
2 |
|
3 |
# Set working directory
|
4 |
WORKDIR /app
|
@@ -9,7 +10,9 @@ RUN apt-get update && apt-get install -y \
|
|
9 |
libportaudio2 \
|
10 |
portaudio19-dev \
|
11 |
ffmpeg \
|
|
|
12 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
13 |
|
14 |
# Create necessary directories
|
15 |
RUN mkdir -p uploads static
|
|
|
1 |
+
FROM python:3.9-slim
|
2 |
+
|
3 |
|
4 |
# Set working directory
|
5 |
WORKDIR /app
|
|
|
10 |
libportaudio2 \
|
11 |
portaudio19-dev \
|
12 |
ffmpeg \
|
13 |
+
build-essential \
|
14 |
&& rm -rf /var/lib/apt/lists/*
|
15 |
+
|
16 |
|
17 |
# Create necessary directories
|
18 |
RUN mkdir -p uploads static
|