oxipng / Dockerfile
getapi's picture
Update Dockerfile
8c9c913 verified
raw
history blame
240 Bytes
FROM python:3.12
WORKDIR /code
RUN pip install fastapi httpx pydantic uvicorn
COPY . .
RUN chmod 777 /code
RUN groupadd -r user && useradd -r -g user user
RUN chown -R user:user /code && chmod -R 777 /code
USER user
CMD python /code/app.py