Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -88,8 +88,11 @@ USER node
|
|
| 88 |
# Set the working directory (good practice)
|
| 89 |
RUN ngrok config add-authtoken $NGROK_AUTHTOKEN
|
| 90 |
|
|
|
|
| 91 |
# Expose the port the app runs on
|
| 92 |
EXPOSE 7860
|
| 93 |
USER root
|
|
|
|
|
|
|
| 94 |
# Define the command to run the application
|
| 95 |
CMD ["npm", "run", "backend"]
|
|
|
|
| 88 |
# Set the working directory (good practice)
|
| 89 |
RUN ngrok config add-authtoken $NGROK_AUTHTOKEN
|
| 90 |
|
| 91 |
+
|
| 92 |
# Expose the port the app runs on
|
| 93 |
EXPOSE 7860
|
| 94 |
USER root
|
| 95 |
+
RUN npm install -g express ejs chart.js && npm cache clean --force
|
| 96 |
+
|
| 97 |
# Define the command to run the application
|
| 98 |
CMD ["npm", "run", "backend"]
|