# syntax=docker/dockerfile:1
FROM python:3.10.6-slim-buster
RUN apt update && apt install build-essential default-libmysqlclient-dev -y
WORKDIR /app
COPY requirements.txt requirements.txt
RUN python -m pip install -r requirements.txt
COPY . .
EXPOSE 8000/tcp
CMD python manage.py runserver 0.0.0.0:8000