getapi commited on
Commit
fd45532
1 Parent(s): 8c9c913

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -2,8 +2,5 @@ FROM python:3.12
2
  WORKDIR /code
3
  RUN pip install fastapi httpx pydantic uvicorn
4
  COPY . .
5
- RUN chmod 777 /code
6
- RUN groupadd -r user && useradd -r -g user user
7
- RUN chown -R user:user /code && chmod -R 777 /code
8
- USER user
9
  CMD python /code/app.py
 
2
  WORKDIR /code
3
  RUN pip install fastapi httpx pydantic uvicorn
4
  COPY . .
5
+ RUN chmod 777 /code && chmod 777 /code/*
 
 
 
6
  CMD python /code/app.py