Made changes to make the dev environment work
This commit is contained in:
parent
7ad81f767e
commit
6b94757760
@ -42,5 +42,5 @@ services:
|
||||
- 9000
|
||||
- 80
|
||||
- 443
|
||||
# volumes:
|
||||
# - ./WebsiteAPI:/var/www/html
|
||||
volumes:
|
||||
- ./php/WebsiteAPI:/var/www/html
|
||||
|
||||
@ -33,9 +33,7 @@ WORKDIR /var/www/html
|
||||
|
||||
USER $user
|
||||
|
||||
COPY ./WebsiteAPI /var/www/html/
|
||||
# COPY ./WebsiteAPI /var/www/html/
|
||||
COPY ./entrypoint.sh /var/www/entrypoint.sh
|
||||
|
||||
RUN composer install
|
||||
RUN composer update
|
||||
|
||||
CMD ["php","artisan","serve","--port=9000","--host=0.0.0.0"]
|
||||
CMD ["/var/www/entrypoint.sh"]
|
||||
Loading…
x
Reference in New Issue
Block a user