Fix path to upload folder (#917)

This commit is contained in:
jekkos-t520 committed 2016-10-18 11:54:47 +02:00
1 parent 3208b83169
commit f5716ab5a3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -14,7 +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 chmod 775 /app/public/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:
- uploads:/app/uploads
- uploads:/app/public/uploads
environment:
- PHP_TIMEZONE=UTC
- MYSQL_USERNAME=admin