Consolidate commands
This commit is contained in:
parent
925f28b29c
commit
7ef3b76499
1 changed files with 3 additions and 6 deletions
|
@ -12,14 +12,11 @@ COPY . ./
|
||||||
|
|
||||||
COPY .dev/default.conf /etc/nginx/conf.d/default.conf
|
COPY .dev/default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
RUN cp .env.example .env
|
RUN cp .env.example .env && composer install --no-dev
|
||||||
RUN composer install --no-dev
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80 443
|
||||||
EXPOSE 443
|
|
||||||
|
|
||||||
RUN chown -R www-data:www-data .
|
RUN chown -R www-data:www-data . && chmod -R 777 storage/* bootstrap/cache /var/run/php
|
||||||
RUN chmod -R 777 storage/* bootstrap/cache /var/run/php
|
|
||||||
|
|
||||||
ENTRYPOINT ["ash", ".dev/entrypoint.sh"]
|
ENTRYPOINT ["ash", ".dev/entrypoint.sh"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue