TradingView-Webhook-Bot/Dockerfile

11 wiersze
290 B
Docker

FROM python:3.9-alpine
LABEL Auther="fabston"
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" ]