Spaces:
Sleeping
Sleeping
(getaround-HuggingFace)[init]: debug dockerfile creation repertoire app
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
FROM python:3.9-slim
|
| 2 |
|
| 3 |
USER root
|
|
|
|
|
|
|
| 4 |
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
@@ -13,8 +15,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 13 |
|
| 14 |
COPY requirements.txt ./
|
| 15 |
RUN pip3 install -r requirements.txt
|
| 16 |
-
|
| 17 |
-
RUN mkdir /app&&chown jedha
|
| 18 |
USER jedha
|
| 19 |
|
| 20 |
WORKDIR /app
|
|
|
|
| 1 |
FROM python:3.9-slim
|
| 2 |
|
| 3 |
USER root
|
| 4 |
+
RUN useradd -ms /bin/bash jedha
|
| 5 |
+
RUN mkdir /app&&chown jedha
|
| 6 |
|
| 7 |
WORKDIR /app
|
| 8 |
|
|
|
|
| 15 |
|
| 16 |
COPY requirements.txt ./
|
| 17 |
RUN pip3 install -r requirements.txt
|
| 18 |
+
|
|
|
|
| 19 |
USER jedha
|
| 20 |
|
| 21 |
WORKDIR /app
|