feat: hf space corr-steer
Browse files- Dockerfile +6 -12
Dockerfile
CHANGED
@@ -1,16 +1,10 @@
|
|
1 |
-
# Use
|
2 |
-
FROM
|
3 |
-
|
4 |
-
# Install Python 3.9 and uv
|
5 |
-
RUN apt-get update && apt-get install -y \
|
6 |
-
python3.9 \
|
7 |
-
python3-dev \
|
8 |
-
build-essential \
|
9 |
-
curl \
|
10 |
-
&& rm -rf /var/lib/apt/lists/*
|
11 |
|
12 |
-
#
|
13 |
-
RUN
|
|
|
|
|
14 |
|
15 |
# Install uv
|
16 |
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
|
1 |
+
# Use Python 3.10 as base image
|
2 |
+
FROM python:3.10-bullseye
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
+
# Install Node.js 18
|
5 |
+
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
6 |
+
&& apt-get install -y nodejs \
|
7 |
+
&& rm -rf /var/lib/apt/lists/*
|
8 |
|
9 |
# Install uv
|
10 |
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|