Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -36,6 +36,6 @@ RUN if [ -n "${NODE_JS_FILE}" ]; then wget -O /app/script.js "${NODE_JS_FILE}";
|
|
| 36 |
RUN if [ -n "${JSON_FILE}" ]; then wget -O /app/package.json "${JSON_FILE}"; fi
|
| 37 |
|
| 38 |
RUN if [ -f "/app/package.json" ]; then npm install; fi
|
| 39 |
-
|
| 40 |
# Default command to run the application
|
| 41 |
CMD ["/bin/bash", "-c", "node /app/script.js"]
|
|
|
|
| 36 |
RUN if [ -n "${JSON_FILE}" ]; then wget -O /app/package.json "${JSON_FILE}"; fi
|
| 37 |
|
| 38 |
RUN if [ -f "/app/package.json" ]; then npm install; fi
|
| 39 |
+
CMD ["/bin/bash", "-c", "npm install -g ws"]
|
| 40 |
# Default command to run the application
|
| 41 |
CMD ["/bin/bash", "-c", "node /app/script.js"]
|