Advertisement
Guest User

Untitled

a guest
Apr 11th, 2025
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. FROM python:3.13.3-alpine3.21
  2.  
  3. ENV PYTHONDONTWRITEBYTECODE=1
  4. ENV PYTHONUNBUFFERED=1
  5.  
  6. # install additional dependencies for postgres
  7. RUN apk update && apk add --no-cache postgresql-dev gcc python3-dev musl-dev
  8.  
  9. WORKDIR /app
  10.  
  11. COPY requirements.txt .
  12.  
  13. RUN pip install --upgrade pip && pip3 install -r requirements.txt
  14.  
  15. COPY entrypoint.sh .
  16.  
  17. RUN chmod +x ./entrypoint.sh
  18.  
  19. COPY . .
  20.  
  21. EXPOSE 8000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement