mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-05-08 06:39:48 -05:00
add persistence for images and logs
This commit is contained in:
@@ -22,6 +22,14 @@ WORKDIR /var/www/html
|
||||
# Copy the application source
|
||||
COPY . /var/www/html
|
||||
|
||||
# copy default files in /public/img so they can be copied if needed in entrypoint
|
||||
RUN mkdir /tmp/img
|
||||
RUN cp /var/www/html/public/img/* /tmp/img
|
||||
VOLUME /var/www/html/public/img
|
||||
|
||||
# Create volume for logs
|
||||
VOLUME /var/www/html/app/logs
|
||||
|
||||
# Copy the PHP overrides
|
||||
COPY ./99-php.ini /usr/local/etc/php/conf.d/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user