Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 18d565a

Browse files
committed
Update Docker File
1 parent 3b47e60 commit 18d565a

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

Dockerfile

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,11 @@
1-
FROM joselfonsecadt/nginx-php7.0:latest
1+
FROM joselfonsecadt/nginx-php7.3:latest
22

33
MAINTAINER Jose Fonseca <[email protected]>
44

5-
COPY docker/default /etc/nginx/sites-available/default
6-
7-
COPY docker/php-fpm.conf /etc/php/7.0/fpm/php-fpm.conf
8-
9-
COPY docker/www.conf /etc/php/7.0/fpm/pool.d/www.conf
10-
11-
COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
12-
135
WORKDIR /var/www/html/
146

15-
COPY composer.json ./
16-
17-
COPY composer.lock ./
18-
19-
RUN composer install --no-scripts --no-autoloader
20-
217
COPY . /var/www/html/
228

23-
RUN composer dump-autoload --optimize && \
24-
php artisan optimize
25-
26-
RUN cp .env.example .env
27-
289
EXPOSE 80
2910

3011
CMD ["/usr/bin/supervisord"]

0 commit comments

Comments
 (0)