Spaces:
Runtime error
Runtime error
Upload Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -14,8 +14,6 @@ COPY requirements.txt .
|
|
14 |
# RUN python -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
|
15 |
RUN python -m pip install -r requirements.txt
|
16 |
|
17 |
-
#RUN adduser -u 5678 --disabled-password --gecos "" appuser
|
18 |
-
#USER appuser
|
19 |
|
20 |
WORKDIR /app
|
21 |
COPY . /app
|
@@ -26,9 +24,8 @@ COPY . /app
|
|
26 |
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app
|
27 |
USER appuser
|
28 |
|
29 |
-
RUN mkdir -p /app/hub
|
30 |
RUN chmod 777 /app
|
31 |
-
#RUN chmod 777 /app/hub
|
32 |
|
33 |
|
34 |
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
|
|
|
14 |
# RUN python -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
|
15 |
RUN python -m pip install -r requirements.txt
|
16 |
|
|
|
|
|
17 |
|
18 |
WORKDIR /app
|
19 |
COPY . /app
|
|
|
24 |
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app
|
25 |
USER appuser
|
26 |
|
27 |
+
# RUN mkdir -p /app/hub
|
28 |
RUN chmod 777 /app
|
|
|
29 |
|
30 |
|
31 |
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
|