Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM python:3.13.3-alpine3.21
- ENV PYTHONDONTWRITEBYTECODE=1
- ENV PYTHONUNBUFFERED=1
- # install additional dependencies for postgres
- RUN apk update && apk add --no-cache postgresql-dev gcc python3-dev musl-dev
- WORKDIR /app
- COPY requirements.txt .
- RUN pip install --upgrade pip && pip3 install -r requirements.txt
- COPY entrypoint.sh .
- RUN chmod +x ./entrypoint.sh
- COPY . .
- EXPOSE 8000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement