build configs updated

This commit is contained in:
tmshv committed 2018-05-23 02:51:16 +03:00
1 parent 45993254bb
commit b7579413db
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ RUN npm i
COPY webpack.config.js gulpfile.js .babelrc ./
COPY robots.txt ./
COPY src ./src
RUN npm run gulp deploy
RUN npm run gulp
RUN npm run build-app
RUN npm run out
+1 -1
View File
@@ -20,7 +20,7 @@ services:
- mongo
build:
context: ./
dockerfile: Hudozka.Dockerfile
dockerfile: Dockerfile
links:
- mongo
ports:
+1 -2
View File
@@ -54,6 +54,5 @@ gulp.task('imagemin', () => {
.pipe(gulp.dest('./public/graphics'))
})
gulp.task('default', gulp.series('style'))
gulp.task('copy', gulp.series('copy views', 'copy fonts', 'copy graphics', 'copy robots.txt'))
gulp.task('deploy', gulp.series('default', 'copy', 'imagemin'))
gulp.task('default', gulp.series('style', 'copy', 'imagemin'))