Spaces:
Runtime error
Runtime error
Karan Goel
commited on
Commit
ยท
2e3bc49
1
Parent(s):
5b40c3b
udpate
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -3,6 +3,9 @@ FROM python:3.9
|
|
3 |
WORKDIR /code
|
4 |
COPY ./tutorial-1.py /code/tutorial-1.py
|
5 |
|
|
|
|
|
|
|
6 |
# Install node >= 18.0.0 and npm
|
7 |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
8 |
RUN apt-get install -y nodejs
|
@@ -23,8 +26,6 @@ COPY . .
|
|
23 |
RUN mkdir /code/logs
|
24 |
RUN chmod 777 /code/logs
|
25 |
ENV MEERKAT_LOG_DIR=/code/logs
|
26 |
-
RUN echo $(whoami)
|
27 |
-
RUN usermod -d /code/ $USER
|
28 |
RUN chmod 777 /code/
|
29 |
|
30 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
3 |
WORKDIR /code
|
4 |
COPY ./tutorial-1.py /code/tutorial-1.py
|
5 |
|
6 |
+
RUN echo $(whoami)
|
7 |
+
RUN usermod -d /code/ root
|
8 |
+
|
9 |
# Install node >= 18.0.0 and npm
|
10 |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
11 |
RUN apt-get install -y nodejs
|
|
|
26 |
RUN mkdir /code/logs
|
27 |
RUN chmod 777 /code/logs
|
28 |
ENV MEERKAT_LOG_DIR=/code/logs
|
|
|
|
|
29 |
RUN chmod 777 /code/
|
30 |
|
31 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|