Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -40,7 +40,7 @@ RUN cd /app/api && npm install --omit=dev --no-audit --no-fund --prefer-offline
|
|
40 |
# Note: Using --omit=dev might break if runtime needs dev deps. Remove if necessary.
|
41 |
# --prefer-offline might help if network is slow/flaky, uses cache more aggressively.
|
42 |
# npm cache clean --force might free up a little space within the layer.
|
43 |
-
|
44 |
# Install system dependencies (including build tools), Python packages, and cleanup in one RUN command
|
45 |
# Reduces layers and removes build tools afterwards
|
46 |
RUN apk add --no-cache --virtual .build-deps \
|
@@ -73,9 +73,6 @@ RUN apk add --no-cache --virtual .build-deps \
|
|
73 |
# (Add back commented packages here if needed, e.g., actors-mcp-server)
|
74 |
echo "Pip install finished. Cleaning up..." && \
|
75 |
# Install ngrok
|
76 |
-
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -O ngrok.tgz && \
|
77 |
-
tar xvzf ngrok.tgz -C /usr/local/bin --strip-components=1 ngrok && \
|
78 |
-
rm ngrok.tgz && \
|
79 |
# Configure ngrok (token ideally passed at runtime or via build arg)
|
80 |
ngrok config add-authtoken $NGROK_AUTHTOKEN && \
|
81 |
# Clean up build dependencies and apk cache
|
|
|
40 |
# Note: Using --omit=dev might break if runtime needs dev deps. Remove if necessary.
|
41 |
# --prefer-offline might help if network is slow/flaky, uses cache more aggressively.
|
42 |
# npm cache clean --force might free up a little space within the layer.
|
43 |
+
RUN wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -O ngrok.tgz && tar xvzf ngrok.tgz && cp ngrok /usr/local/bin && rm ngrok.tgz
|
44 |
# Install system dependencies (including build tools), Python packages, and cleanup in one RUN command
|
45 |
# Reduces layers and removes build tools afterwards
|
46 |
RUN apk add --no-cache --virtual .build-deps \
|
|
|
73 |
# (Add back commented packages here if needed, e.g., actors-mcp-server)
|
74 |
echo "Pip install finished. Cleaning up..." && \
|
75 |
# Install ngrok
|
|
|
|
|
|
|
76 |
# Configure ngrok (token ideally passed at runtime or via build arg)
|
77 |
ngrok config add-authtoken $NGROK_AUTHTOKEN && \
|
78 |
# Clean up build dependencies and apk cache
|