This commit is contained in:
@@ -31,9 +31,6 @@ RUN usermod -aG sudo root
|
|||||||
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
|
|
||||||
# Install PM2 globally
|
|
||||||
RUN npm install -g pm2
|
|
||||||
|
|
||||||
# # Switch to Fish shell
|
# # Switch to Fish shell
|
||||||
# SHELL [ "fish", "--command" ]
|
# SHELL [ "fish", "--command" ]
|
||||||
# RUN chsh -s /usr/bin/fish
|
# RUN chsh -s /usr/bin/fish
|
||||||
|
|||||||
@@ -93,5 +93,5 @@ sed -i "s/^ nodename:.*/ nodename: $HOSTNAME/" "$CONFIG_FILE"
|
|||||||
service cron start
|
service cron start
|
||||||
nohup teleport start &
|
nohup teleport start &
|
||||||
|
|
||||||
# Start the application with pm2
|
# Start the application with Laravel serve command
|
||||||
exec pm2-runtime "php artisan serve --host=0.0.0.0 --port=8000"
|
exec php artisan serve --host=0.0.0.0 --port=8000
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
2.0
|
3.0
|
||||||
Reference in New Issue
Block a user