Make uploads folder writable (#917)

This commit is contained in:
jekkos-t520 committed 2016-10-18 11:21:27 +02:00
1 parent 1df3ed8b46
commit a2515cf922
2 files changed
+2 -1

No files matched your search

+1
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 && \
+1 -1
View File
@@ -18,7 +18,7 @@ services:
ports:
- "80:80"
volumes:
- .:/app
- uploads:/app/uploads
environment:
- PHP_TIMEZONE=UTC
- MYSQL_USERNAME=admin