Karan Goel commited on
Commit
fd1082d
ยท
1 Parent(s): 9255953
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -23,7 +23,8 @@ COPY . .
23
  RUN mkdir /code/logs
24
  RUN chmod 777 /code/logs
25
  ENV MEERKAT_LOG_DIR=/code/logs
26
- RUN usermod -d /code/ $(whoami)
 
27
 
28
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
29
  CMD ["mk", "run", "/code/tutorial-1.py", "--host", "0.0.0.0", "--api-port", "7860"]
 
23
  RUN mkdir /code/logs
24
  RUN chmod 777 /code/logs
25
  ENV MEERKAT_LOG_DIR=/code/logs
26
+ RUN usermod -d /code/ $USER
27
+ RUN chmod 777 /code/
28
 
29
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
30
  CMD ["mk", "run", "/code/tutorial-1.py", "--host", "0.0.0.0", "--api-port", "7860"]