eternal-path-bot / Dockerfile
bartendr604's picture
Fix image + db paths for container environment
4034566 verified
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy bot source
COPY . .
# Persistent data directory (purchases + inventory db)
RUN mkdir -p /data
ENV STICKERS_PATH=/app/stickers/assets
ENV DB_PATH=/data/shop.db
# Expose health check port
EXPOSE 7860
CMD ["python", "bot.py"]