Files
TradeBot/Dockerfile
T

17 lines
399 B
Docker

FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r /app/requirements.txt
COPY crypto_spot_bot /app/crypto_spot_bot
COPY README.md /app/README.md
RUN mkdir -p /app/runtime
EXPOSE 8787
CMD ["python", "-m", "crypto_spot_bot.main"]