oxipng / Dockerfile
getapi's picture
Update Dockerfile
2e2e50f verified
raw
history blame
244 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 myuser:myuser /code && chmod -R 777 /code
USER user
CMD python /code/app.py