File tree Expand file tree Collapse file tree 7 files changed +25
-27
lines changed Expand file tree Collapse file tree 7 files changed +25
-27
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,12 @@ RUN composer global require hirak/prestissimo
98
98
RUN yarn config set strict-ssl false && \
99
99
yarn global add cross-env
100
100
101
- # copy home folder and make run scripts executable
102
- COPY ./home/app/ /home/app/
103
- COPY ./root/.bashrc /root/
104
- RUN find /home/app -name "run-*.sh" -exec chmod -v +x {} \;
105
- RUN chmod +x /home/app/entrypoint.sh
101
+ # copy root folder and make run scripts executable
102
+ COPY ./root/ /root/
103
+ RUN find /root -name "run-*.sh" -exec chmod -v +x {} \;
104
+ RUN chmod +x /root/entrypoint.sh
106
105
107
106
# run the application
108
- ENTRYPOINT ["/home/app /entrypoint.sh" ]
109
- CMD /home/app /run-prod.sh
107
+ ENTRYPOINT ["/root /entrypoint.sh" ]
108
+ CMD /root /run-prod.sh
110
109
EXPOSE 8080
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ version: '3.7'
45
45
services :
46
46
app :
47
47
build : .
48
- command : /home/app /run-dev.sh
48
+ command : /root /run-dev.sh
49
49
restart : unless-stopped
50
50
environment :
51
51
- PHP_OPCACHE_VALIDATE_TIMESTAMPS=1
@@ -80,7 +80,7 @@ version: '3.7'
80
80
services:
81
81
app:
82
82
image: sourceboat/docker-laravel
83
- command: /home/app /run-prod.sh
83
+ command: /root /run-prod.sh
84
84
restart: unless-stopped
85
85
environment:
86
86
- PHP_OPCACHE_VALIDATE_TIMESTAMPS=1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- source /home/app/.bashrc
1
+ # useful aliases
2
+ alias ll=' ls -la'
3
+ alias artisan=" php artisan"
4
+
5
+ # prompt colors and short user display
6
+ force_color_prompt=yes
7
+ PS1=' \[\033[1;36m\]\u\[\033[1;31m\]\[\033[1;32m\]:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] '
8
+
9
+ # artisan autocompletion
10
+ _artisan ()
11
+ {
12
+ COMP_WORDBREAKS=${COMP_WORDBREAKS//: }
13
+ COMMANDS=` artisan --raw --no-ansi list | sed " s/[[:space:]].*//g" `
14
+ COMPREPLY=(` compgen -W " $COMMANDS " -- " ${COMP_WORDS[COMP_CWORD]} " ` )
15
+ return 0
16
+ }
17
+ complete -F _artisan artisan
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments