Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
|
4 |
# PLease read the GNU Affero General Public License in <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
|
5 |
|
6 |
-
FROM python:3.
|
7 |
|
8 |
# set timezone
|
9 |
ENV TZ=Asia/Kolkata
|
@@ -13,8 +13,8 @@
|
|
13 |
|
14 |
COPY . .
|
15 |
|
16 |
-
# Install git for pip to install from GitHub
|
17 |
-
RUN apt-get update && apt-get install -y git
|
18 |
|
19 |
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
RUN bash installer.sh
|
|
|
3 |
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
|
4 |
# PLease read the GNU Affero General Public License in <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
|
5 |
|
6 |
+
FROM python:3.10-slim
|
7 |
|
8 |
# set timezone
|
9 |
ENV TZ=Asia/Kolkata
|
|
|
13 |
|
14 |
COPY . .
|
15 |
|
16 |
+
# Install git, gcc, and python3-dev for pip to install from GitHub and build wheels
|
17 |
+
RUN apt-get update && apt-get install -y git gcc python3-dev
|
18 |
|
19 |
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
RUN bash installer.sh
|