Spaces:
Sleeping
Sleeping
docker order
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
# Use an official Python image as the base image
|
2 |
FROM python:3.8-slim
|
3 |
|
|
|
|
|
|
|
|
|
4 |
RUN useradd -m -u 1000 user
|
5 |
USER user
|
6 |
ENV PATH="/home/user/.local/bin:$PATH"
|
@@ -8,8 +12,7 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
8 |
# Set the working directory inside the container
|
9 |
WORKDIR /app
|
10 |
|
11 |
-
|
12 |
-
RUN apt-get update && apt-get install
|
13 |
|
14 |
# Install PyTorch
|
15 |
RUN pip install --upgrade pip
|
|
|
1 |
# Use an official Python image as the base image
|
2 |
FROM python:3.8-slim
|
3 |
|
4 |
+
# Install system dependencies
|
5 |
+
RUN apt-get update && apt-get install
|
6 |
+
|
7 |
+
|
8 |
RUN useradd -m -u 1000 user
|
9 |
USER user
|
10 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
|
12 |
# Set the working directory inside the container
|
13 |
WORKDIR /app
|
14 |
|
15 |
+
|
|
|
16 |
|
17 |
# Install PyTorch
|
18 |
RUN pip install --upgrade pip
|