Karan Goel commited on
Commit
ad0ef91
ยท
1 Parent(s): 2e3bc49
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -3,9 +3,6 @@ FROM python:3.9
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
@@ -27,6 +24,7 @@ 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"]
32
  CMD ["mk", "run", "/code/tutorial-1.py", "--host", "0.0.0.0", "--api-port", "7860"]
 
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
 
24
  RUN chmod 777 /code/logs
25
  ENV MEERKAT_LOG_DIR=/code/logs
26
  RUN chmod 777 /code/
27
+ ENV MEERKAT_CONFIG=/code/config.yaml
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"]