screwdriver-api 7.0.95 → 7.0.96

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.
Files changed (2) hide show
  1. package/Dockerfile +7 -1
  2. package/package.json +1 -1
package/Dockerfile CHANGED
@@ -21,5 +21,11 @@ RUN ln -s /usr/src/app/node_modules/screwdriver-api/config /config
21
21
  # Expose the web service port
22
22
  EXPOSE 8080
23
23
 
24
+ # Add Tini
25
+ ENV TINI_VERSION v0.19.0
26
+ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
27
+ RUN chmod +x /tini
28
+ ENTRYPOINT ["/tini", "--"]
29
+
24
30
  # Run the service
25
- CMD [ "npm", "start" ]
31
+ CMD [ "node", "./bin/server" ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-api",
3
- "version": "7.0.95",
3
+ "version": "7.0.96",
4
4
  "description": "API server for the Screwdriver.cd service",
5
5
  "main": "index.js",
6
6
  "scripts": {