- Implemented relevant ping ping routes, regions, cloudflare, auth as a proper abstract to Core for a community cloud
21 lines
451 B
Docker
21 lines
451 B
Docker
FROM python:3.11-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential libmariadb-dev curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY packages/pyshared /packages/pyshared
|
|
RUN pip install --upgrade pip && pip install -e /packages/pyshared
|
|
|
|
COPY community/requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
|
|
COPY community/ .
|
|
|
|
CMD ["bash"]
|