Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM python:3.6-alpine3.6
- RUN apk update
- RUN apk upgrade
- RUN apk add --no-cache git openssh curl
- ENV WORK_ENV=DEV
- COPY . /api
- WORKDIR /api
- ADD run.py .
- ADD requirements.txt .
- RUN pip install -r requirements.txt
- EXPOSE 5000
- # ENTRYPOINT ["python3.6", "run.py"]
- CMD ["python3.6", "run.py"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement