TradingView-Webhook-Bot/Dockerfile

11 wiersze
290 B
Docker
Czysty Zwykły widok Historia

2020-10-11 17:42:44 +00:00
FROM python:3.9-alpine
2021-08-05 05:02:06 +00:00
LABEL Auther="fabston"
2020-10-11 17:42:44 +00:00
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN apk add gcc python3-dev openssl-dev musl-dev libffi-dev &&\
pip install --no-cache-dir -r requirements.txt
COPY main.py handler.py config.py ./
EXPOSE 80
ENTRYPOINT [ "python", "main.py" ]