Working Dockerfile and Compose.yml, makefile docker cmd

This commit is contained in:
DarkCat09 2023-02-17 15:55:52 +04:00
parent 13f10ab255
commit bd4c0987c2
3 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,7 @@
FROM python:3-alpine
RUN apk update && apk upgrade && apk add python3-pip
RUN apk update && apk upgrade && apk add py-pip make
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
CMD make prod
EXPOSE 8000