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:
Jakub Sokołowski 2018-12-27 14:37:25 +01:00
parent 600d748236
commit 9211d7efc2
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 2 additions and 6 deletions

View File

@ -5,7 +5,7 @@ WORKDIR /app
COPY package.json ./
RUN yarn install --production
COPY dist/ ./
COPY src/ ./
ENV LOG_LEVEL=INFO \
LISTEN_PORT=8000 \

View File

@ -27,11 +27,7 @@ gulp.task('testw', () =>
.pipe(mocha({reporter: 'list', watch: true}))
)
gulp.task('build', ['clean', 'test'], () =>
gulp.src('src/**/*.js')
.pipe(print())
.pipe(gulp.dest('dist/'))
)
gulp.task('build', ['clean', 'test'])
gulp.task('image', ['build'], run('docker build -t statusteam/ghcmgr .'))