don't build files to dist, just get them from src
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
600d748236
commit
9211d7efc2
|
@ -5,7 +5,7 @@ WORKDIR /app
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
RUN yarn install --production
|
RUN yarn install --production
|
||||||
|
|
||||||
COPY dist/ ./
|
COPY src/ ./
|
||||||
|
|
||||||
ENV LOG_LEVEL=INFO \
|
ENV LOG_LEVEL=INFO \
|
||||||
LISTEN_PORT=8000 \
|
LISTEN_PORT=8000 \
|
||||||
|
|
|
@ -27,11 +27,7 @@ gulp.task('testw', () =>
|
||||||
.pipe(mocha({reporter: 'list', watch: true}))
|
.pipe(mocha({reporter: 'list', watch: true}))
|
||||||
)
|
)
|
||||||
|
|
||||||
gulp.task('build', ['clean', 'test'], () =>
|
gulp.task('build', ['clean', 'test'])
|
||||||
gulp.src('src/**/*.js')
|
|
||||||
.pipe(print())
|
|
||||||
.pipe(gulp.dest('dist/'))
|
|
||||||
)
|
|
||||||
|
|
||||||
gulp.task('image', ['build'], run('docker build -t statusteam/ghcmgr .'))
|
gulp.task('image', ['build'], run('docker build -t statusteam/ghcmgr .'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue