Compare commits

..

No commits in common. "857c397692bec4f8e037707456224179d3c98414" and "8c32b881bcf3bfef90badd2110e895b1d63e360d" have entirely different histories.

4 changed files with 6 additions and 5 deletions

View File

@ -15,8 +15,9 @@ WORKDIR /app
COPY --from=node /app /app COPY --from=node /app /app
COPY --from=composer /app/public/vendor /app/public/vendor COPY --from=composer /app/public/vendor /app/public/vendor
COPY ./.docker/nginx/nginx.conf /etc/nginx/nginx.conf COPY ./.docker/nginx/nginx.conf /etc/nginx/nginx.conf
RUN cd public && ln -s ../storage/app/public ./storage
EXPOSE 80 EXPOSE 80
VOLUME ["/app/public/storage"] VOLUME ["/app/storage/app"]
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]

View File

@ -10,8 +10,8 @@ function wait_for_db {
done done
} }
mkdir -p /app/packages/laravel-nami/.cookies || true mkdir /app/packages/laravel-nami/.cookies || true
mkdir -p /app/storage/app/public || true mkdir /app/storage/app || true
chown -R www-data:www-data /app/packages/laravel-nami/.cookies chown -R www-data:www-data /app/packages/laravel-nami/.cookies
chown -R www-data:www-data /app/storage/app chown -R www-data:www-data /app/storage/app

View File

@ -8,7 +8,7 @@ services:
ports: ports:
- '8000:80' - '8000:80'
volumes: volumes:
- ./data/storage/public:/app/storage/app/public - ./data/storage:/app/storage/app
php: php:
image: zoomyboy/adrema-app:latest image: zoomyboy/adrema-app:latest

View File

@ -9,7 +9,7 @@ services:
ports: ports:
- '8000:80' - '8000:80'
volumes: volumes:
- ./data/storage/public:/app/public/storage - ./data/storage:/app/storage/app
php: php:
build: build: