Files
echoes-of-the-ash/Dockerfile.map
2025-11-27 16:27:01 +01:00

26 lines
628 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Install Docker CLI for container restart functionality
RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl \
ca-certificates && \
curl -fsSL https://get.docker.com | sh && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Copy all application code (needed for bot module access)
COPY . .
# Install requirements (web-map and main requirements)
RUN pip install --no-cache-dir -r /app/web-map/requirements.txt && \
pip install --no-cache-dir -r /app/requirements.txt || true
WORKDIR /app/web-map
EXPOSE 8080
CMD ["python", "server.py"]