eda-franky-v1 / Dockerfile
architojha's picture
test
286933c
raw
history blame contribute delete
586 Bytes
FROM python:3.11.4
ENV HOME=/app
ENV MPLCONFIGDIR=/tmp/matplotlib
WORKDIR /app
COPY . /app/
RUN mkdir -p /app/src/core/logs && chmod -R 777 /app/src/core/logs
RUN mkdir -p /app/src/core/cache/downloads && chmod -R 777 /app/src/core/cache
RUN apt-get update && \
apt-get install -y redis-server && \
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip && \
pip install uv && \
uv pip install --system -r requirements.txt
RUN git config --global user.email "[email protected]" || true
CMD ["python", "-m", "main"]