Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -5
Dockerfile
CHANGED
@@ -1,15 +1,14 @@
|
|
1 |
FROM python:3.9
|
2 |
-
|
|
|
3 |
RUN cat /proc/cpuinfo
|
|
|
4 |
RUN useradd -m -u 1000 user
|
5 |
USER user
|
6 |
ENV PATH="/home/user/.local/bin:$PATH"
|
7 |
WORKDIR /app
|
8 |
-
|
9 |
-
RUN pip install fastapi uvicorn[standard]==0.17.* transformers torch accelerate
|
10 |
-
|
11 |
-
RUN sudo lscpu
|
12 |
RUN cat /proc/cpuinfo
|
|
|
13 |
|
14 |
COPY --chown=user . /app
|
15 |
|
|
|
1 |
FROM python:3.9
|
2 |
+
|
3 |
+
RUN sudo lscpu
|
4 |
RUN cat /proc/cpuinfo
|
5 |
+
|
6 |
RUN useradd -m -u 1000 user
|
7 |
USER user
|
8 |
ENV PATH="/home/user/.local/bin:$PATH"
|
9 |
WORKDIR /app
|
|
|
|
|
|
|
|
|
10 |
RUN cat /proc/cpuinfo
|
11 |
+
RUN pip install fastapi uvicorn[standard]==0.17.* transformers torch accelerate
|
12 |
|
13 |
COPY --chown=user . /app
|
14 |
|