Working Dockerfile and Compose.yml, makefile docker cmd
This commit is contained in:
parent
13f10ab255
commit
bd4c0987c2
3 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue