mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-12 02:28:20 +02:00
Remove the previous general Dockerfile
This commit is contained in:
parent
d0006dc624
commit
2672708e81
25
Dockerfile
25
Dockerfile
@ -1,25 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# Install the Webmail from source
|
|
||||||
|
|
||||||
|
|
||||||
# Install the Web admin panel
|
|
||||||
COPY admin /admin
|
|
||||||
RUN pip install -r /admin/requirements.txt
|
|
||||||
|
|
||||||
# Configure the webmail
|
|
||||||
RUN cd /webmail \
|
|
||||||
&& rm -rf CHANGELOG INSTALL LICENSE README.md UPDGRADING composer.json-dist temp logs \
|
|
||||||
&& ln -s /data/logs/webmail logs \
|
|
||||||
&& ln -s /data/webmail/temp temp \
|
|
||||||
&& ln -s /etc/roundcube.inc.php config/config.inc.php
|
|
||||||
|
|
||||||
# Load the configuration
|
|
||||||
COPY config /etc/
|
|
||||||
|
|
||||||
# Copy the entrypoint
|
|
||||||
COPY start.sh /start.sh
|
|
||||||
|
|
||||||
# Explicitely specify the configuration file to avoid problems when
|
|
||||||
# the default configuration path changes.
|
|
||||||
CMD "/start.sh"
|
|
Loading…
Reference in New Issue
Block a user