Spaces:
Sleeping
Sleeping
Changing a typo in the Dockerfile because the application was not running (using ' instead of ").
a3866ca
verified
| FROM python:3.12-slim AS base | |
| RUN apt-get update && apt-get install -y git | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY --chown=user . $HOME/app | |
| COPY requirements.txt . | |
| RUN pip3 install -r requirements.txt | |
| COPY . . | |
| ENTRYPOINT ["python", "main_service.py"] |