Skip to content

Commit

Permalink
fixup! BB-295 - fix image build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerkesni committed Dec 16, 2022
1 parent 8c80a85 commit 45cd2d7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ RUN apt-get update && \
WORKDIR /usr/src/app

# Keep the .git directory in order to properly report version
COPY . /usr/src/app
COPY --from=builder /usr/src/app/dist ./dist/
COPY . ./
COPY --from=builder /usr/src/app/dist ./
COPY --from=builder /usr/src/app/node_modules ./node_modules/
COPY --from=builder /usr/local/bin/dockerize /usr/local/bin/

Expand Down
31 changes: 15 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"name": "backbeat",
"version": "8.4.23",
"description": "Asynchronous queue and job manager",
"main": "dist/index.js",
"main": "index.js",
"scripts": {
"queue_populator": "BACKBEAT_QUEUEPOPULATOR_EXTENSIONS=replication,lifecycle node dist/bin/queuePopulator.js",
"queue_processor": "node dist/extensions/replication/queueProcessor/task.js",
"ingestion_populator": "node dist/bin/ingestion.js",
"replication_status_processor": "node dist/extensions/replication/replicationStatusProcessor/task.js",
"lifecycle_conductor": "node dist/extensions/lifecycle/conductor/service.js",
"lifecycle_bucket_processor": "node dist/extensions/lifecycle/bucketProcessor/task.js",
"lifecycle_object_processor": "node dist/extensions/lifecycle/objectProcessor/task.js",
"lifecycle_object_transition_processor": "LIFECYCLE_OBJECT_PROCESSOR_TYPE=transition node dist/extensions/lifecycle/objectProcessor/task.js",
"oplog_populator": "node dist/extensions/oplogPopulator/OplogPopulatorTask.js",
"mongo_queue_processor": "node dist/extensions/mongoProcessor/mongoProcessorTask.js",
"garbage_collector": "node dist/extensions/gc/service.js",
"queue_populator": "BACKBEAT_QUEUEPOPULATOR_EXTENSIONS=replication,lifecycle node bin/queuePopulator.js",
"queue_processor": "node extensions/replication/queueProcessor/task.js",
"ingestion_populator": "node bin/ingestion.js",
"replication_status_processor": "node extensions/replication/replicationStatusProcessor/task.js",
"lifecycle_conductor": "node extensions/lifecycle/conductor/service.js",
"lifecycle_bucket_processor": "node extensions/lifecycle/bucketProcessor/task.js",
"lifecycle_object_processor": "node extensions/lifecycle/objectProcessor/task.js",
"lifecycle_object_transition_processor": "LIFECYCLE_OBJECT_PROCESSOR_TYPE=transition node extensions/lifecycle/objectProcessor/task.js",
"oplog_populator": "node extensions/oplogPopulator/OplogPopulatorTask.js",
"mongo_queue_processor": "node extensions/mongoProcessor/mongoProcessorTask.js",
"garbage_collector": "node extensions/gc/service.js",
"test": "jest /unit --forceExit",
"ft_test": "jest /functional --forceExit --testTimeout 30000",
"ft_test:notification": "jest /functional/notification --forceExit --testTimeout 30000",
Expand All @@ -28,9 +28,9 @@
"bh_test": "jest /behavior",
"lint": "eslint $(git ls-files '*.js')",
"lint_md": "mdlint $(git ls-files '[^bucket-scanner/]*.md')",
"start": "node dist/bin/backbeat.js",
"notification_populator": "BACKBEAT_QUEUEPOPULATOR_EXTENSIONS=notification BACKBEAT_QUEUEPOPULATOR_LOGSOURCE=kafka node dist/bin/queuePopulator.js",
"notification_processor": "node dist/extensions/notification/queueProcessor/task.js",
"start": "node bin/backbeat.js",
"notification_populator": "BACKBEAT_QUEUEPOPULATOR_EXTENSIONS=notification BACKBEAT_QUEUEPOPULATOR_LOGSOURCE=kafka node bin/queuePopulator.js",
"notification_processor": "node extensions/notification/queueProcessor/task.js",
"build": "yarn tsc"
},
"repository": {
Expand Down Expand Up @@ -84,7 +84,6 @@
"jest": {
"maxWorkers": 1,
"testPathIgnorePatterns": [
"/dist/",
"/node_modules/"
],
"preset": "ts-jest",
Expand Down

0 comments on commit 45cd2d7

Please sign in to comment.