Files
ihrm/Dockerfile
Ashwanth Balakrishnan 58be33a8d7 Added Pre-Commit Hooks (#175)
* Added pre commit hook

* Run pre commit hook on all files

---------

Co-authored-by: Horilla <131998600+horilla-opensource@users.noreply.github.com>
2024-05-07 12:23:36 +05:30

18 lines
266 B
Docker

FROM python:3.10-slim-bullseye
ENV PYTHONUNBUFFERED 1
RUN apt-get update && apt-get install -y libcairo2-dev gcc
WORKDIR /app/
COPY . .
RUN chmod +x /app/entrypoint.sh
RUN pip install -r requirements.txt
EXPOSE 8000
CMD ["python3", "manage.py", "runserver"]