mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
17 lines
259 B
Docker
17 lines
259 B
Docker
FROM python:3
|
|
|
|
RUN mkdir -p /app
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
|
|
COPY mailu ./mailu
|
|
COPY migrations ./migrations
|
|
COPY manage.py .
|
|
COPY start.sh /start.sh
|
|
|
|
RUN pybabel compile -d mailu/translations
|
|
|
|
CMD ["/start.sh"]
|