discord-lnbits-bot/Dockerfile

16 lines
302 B
Docker
Raw Normal View History

2025-05-10 23:59:55 +00:00
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update \
2025-05-14 15:01:18 +00:00
&& apt-get install -y gcc libpq-dev --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
2025-05-10 23:59:55 +00:00
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
2025-05-14 15:01:18 +00:00
EXPOSE 3000
CMD ["gunicorn", "-b", "0.0.0.0:3000", "app:app"]