Spaces:
Runtime error
Runtime error
Archie Wood
commited on
Commit
·
42d916e
1
Parent(s):
531b740
venv
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -3,6 +3,10 @@ FROM node:20-alpine AS builder
|
|
3 |
# Install python3 and pip
|
4 |
RUN apk add --no-cache python3 py3-pip
|
5 |
|
|
|
|
|
|
|
|
|
6 |
RUN pip install --upgrade "huggingface_hub[cli]"
|
7 |
|
8 |
# Build the app
|
|
|
3 |
# Install python3 and pip
|
4 |
RUN apk add --no-cache python3 py3-pip
|
5 |
|
6 |
+
# Create and activate a virtual environment
|
7 |
+
RUN python3 -m venv /venv
|
8 |
+
ENV PATH="/venv/bin:$PATH"
|
9 |
+
|
10 |
RUN pip install --upgrade "huggingface_hub[cli]"
|
11 |
|
12 |
# Build the app
|