Skip to content

Commit 7ef3b76

Browse files
committed
Consolidate commands
1 parent 925f28b commit 7ef3b76

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,11 @@ COPY . ./
1212

1313
COPY .dev/default.conf /etc/nginx/conf.d/default.conf
1414

15-
RUN cp .env.example .env
16-
RUN composer install --no-dev
15+
RUN cp .env.example .env && composer install --no-dev
1716

18-
EXPOSE 80
19-
EXPOSE 443
17+
EXPOSE 80 443
2018

21-
RUN chown -R www-data:www-data .
22-
RUN chmod -R 777 storage/* bootstrap/cache /var/run/php
19+
RUN chown -R www-data:www-data . && chmod -R 777 storage/* bootstrap/cache /var/run/php
2320

2421
ENTRYPOINT ["ash", ".dev/entrypoint.sh"]
2522

0 commit comments

Comments
 (0)