Files
ihrm/Dockerfile
Ashwanth Balakrishnan 03ff0aec9c Dockerized the application (#119)
* dockerized the application

* Update docker.md

---------

Co-authored-by: Horilla <131998600+horilla-opensource@users.noreply.github.com>
2024-03-13 06:21:23 +00:00

17 lines
265 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"]