You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
398 B
Docker
19 lines
398 B
Docker
![]()
7 years ago
|
FROM python:3-alpine
|
||
![]()
9 years ago
|
|
||
|
RUN mkdir -p /app
|
||
|
WORKDIR /app
|
||
|
|
||
![]()
7 years ago
|
COPY requirements-prod.txt requirements.txt
|
||
![]()
7 years ago
|
RUN apk --update add --virtual build-dep openssl-dev libffi-dev python-dev build-base \
|
||
|
&& pip install -r requirements.txt \
|
||
|
&& apk del build-dep
|
||
![]()
8 years ago
|
|
||
![]()
8 years ago
|
COPY mailu ./mailu
|
||
|
COPY migrations ./migrations
|
||
|
COPY manage.py .
|
||
|
COPY start.sh /start.sh
|
||
|
|
||
![]()
8 years ago
|
RUN pybabel compile -d mailu/translations
|
||
![]()
9 years ago
|
|
||
![]()
8 years ago
|
CMD ["/start.sh"]
|