Make uploads folder writable (#917)

This commit is contained in:
jekkos-t520
2016-10-18 11:20:30 +02:00
parent 1df3ed8b46
commit a2515cf922
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ RUN echo -e “$(hostname -i)\t$(hostname) $(hostname).localhost” >> /etc/host
WORKDIR /app
COPY . /app
RUN ln -s /app/*[^public] /var/www && rm -rf /var/www/html && ln -nsf /app/public /var/www/html
RUN chmod 775 /app/uploads
RUN cp application/config/database.php.tmpl application/config/database.php && \
sed -i -e "s/\(localhost\)/web/g" test/ospos.js && \

View File

@@ -18,7 +18,7 @@ services:
ports:
- "80:80"
volumes:
- .:/app
- uploads:/app/uploads
environment:
- PHP_TIMEZONE=UTC
- MYSQL_USERNAME=admin