Advertisement
gray_beard

Dokerfile

Apr 16th, 2022
1,077
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.20 KB | None | 0 0
  1. FROM python:3.7-slim
  2.  
  3. WORKDIR /app
  4.  
  5. COPY requirements.txt .
  6.  
  7. RUN pip install -r requirements.txt --no-cache-dir
  8.  
  9. COPY . .
  10.  
  11. CMD ["gunicorn", "api_yamdb.wsgi:application", "--bind", "0:8000" ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement