Fix: entrypoint chown /data pour www-data
This commit is contained in:
@@ -10,6 +10,9 @@ RUN chown -R www-data:www-data /var/www/html && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
COPY docker/apache.conf /etc/apache2/sites-available/000-default.conf
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
VOLUME /data
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user