mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-03-09 23:38:54 +00:00
Modify entrypoint to serve without build as build is a separate step before
This commit is contained in:
parent
4a9ab8426f
commit
abebae9ebb
2 changed files with 9 additions and 1 deletions
|
@ -81,6 +81,6 @@ RUN gulp build
|
||||||
RUN mkdir -p logs
|
RUN mkdir -p logs
|
||||||
|
|
||||||
# Start services and start web server
|
# Start services and start web server
|
||||||
ENTRYPOINT service ssh start && mongod & gulp serve:dist
|
ENTRYPOINT service ssh start && mongod & gulp serve:dist:no_build
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -370,6 +370,14 @@ gulp.task('serve:dist', cb => {
|
||||||
cb);
|
cb);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
gulp.task('serve:dist:no_build', cb => {
|
||||||
|
runSequence(
|
||||||
|
'env:all',
|
||||||
|
'env:prod',
|
||||||
|
['start:server:prod'],
|
||||||
|
cb);
|
||||||
|
});
|
||||||
|
|
||||||
gulp.task('test', cb => {
|
gulp.task('test', cb => {
|
||||||
//return runSequence('test:server', 'test:client', cb);
|
//return runSequence('test:server', 'test:client', cb);
|
||||||
//TODO: Integrate client side tests
|
//TODO: Integrate client side tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue