screwdriver-queue-service 3.0.8 → 3.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Dockerfile CHANGED
@@ -18,5 +18,10 @@ RUN cp -r /usr/src/app/node_modules/screwdriver-queue-service/config /config
18
18
  # Expose the web service port
19
19
  EXPOSE 8080
20
20
 
21
+ # Add dumb-init
22
+ RUN wget -O /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64
23
+ RUN chmod +x /usr/local/bin/dumb-init
24
+ ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]
25
+
21
26
  # Run the service
22
- CMD [ "npm", "start" ]
27
+ CMD [ "node", "./bin/server" ]
package/Dockerfile.local CHANGED
@@ -14,5 +14,10 @@ COPY . /usr/src/app
14
14
  # Expose the web service port
15
15
  EXPOSE 80
16
16
 
17
+ # Add dumb-init
18
+ RUN wget -O /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64
19
+ RUN chmod +x /usr/local/bin/dumb-init
20
+ ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]
21
+
17
22
  # Run the service
18
- CMD [ "npm", "start" ]
23
+ CMD [ "node", "./bin/server" ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-queue-service",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "description": "Screwdriver Queue Service API",
5
5
  "main": "app.js",
6
6
  "directories": {