Spaces:
Runtime error
Runtime error
minor fix
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -6,12 +6,12 @@ COPY ./requirements.txt /code/requirements.txt
|
|
6 |
|
7 |
COPY ./app /code/app
|
8 |
|
|
|
|
|
9 |
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
10 |
|
11 |
USER docker
|
12 |
|
13 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
14 |
-
|
15 |
EXPOSE 7860
|
16 |
|
17 |
CMD ["fastapi", "run", "/code/app/main.py", "--port", "7860"]
|
|
|
6 |
|
7 |
COPY ./app /code/app
|
8 |
|
9 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
10 |
+
|
11 |
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
12 |
|
13 |
USER docker
|
14 |
|
|
|
|
|
15 |
EXPOSE 7860
|
16 |
|
17 |
CMD ["fastapi", "run", "/code/app/main.py", "--port", "7860"]
|