1
0
Fork 0
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:
Mumshad Mannambeth 2017-07-12 07:31:17 -04:00
parent 4a9ab8426f
commit abebae9ebb
2 changed files with 9 additions and 1 deletions

View file

@ -81,6 +81,6 @@ RUN gulp build
RUN mkdir -p logs
# Start services and start web server
ENTRYPOINT service ssh start && mongod & gulp serve:dist
ENTRYPOINT service ssh start && mongod & gulp serve:dist:no_build

View file

@ -370,6 +370,14 @@ gulp.task('serve:dist', cb => {
cb);
});
gulp.task('serve:dist:no_build', cb => {
runSequence(
'env:all',
'env:prod',
['start:server:prod'],
cb);
});
gulp.task('test', cb => {
//return runSequence('test:server', 'test:client', cb);
//TODO: Integrate client side tests