Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -2,16 +2,16 @@ FROM node:22-slim
|
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 4 |
git openssh-client build-essential python3 python3-pip \
|
| 5 |
-
g++ make ca-certificates && rm -rf /var/lib/apt/lists/*
|
| 6 |
|
| 7 |
RUN pip3 install --no-cache-dir huggingface_hub --break-system-packages
|
| 8 |
-
|
| 9 |
RUN npm install -g openclaw@latest --unsafe-perm
|
| 10 |
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
COPY sync.py .
|
| 14 |
COPY start-openclaw.sh .
|
|
|
|
| 15 |
RUN chmod +x start-openclaw.sh
|
| 16 |
|
| 17 |
ENV PORT=7860 HOME=/root
|
|
|
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 4 |
git openssh-client build-essential python3 python3-pip \
|
| 5 |
+
g++ make ca-certificates nginx && rm -rf /var/lib/apt/lists/*
|
| 6 |
|
| 7 |
RUN pip3 install --no-cache-dir huggingface_hub --break-system-packages
|
|
|
|
| 8 |
RUN npm install -g openclaw@latest --unsafe-perm
|
| 9 |
|
| 10 |
WORKDIR /app
|
| 11 |
|
| 12 |
COPY sync.py .
|
| 13 |
COPY start-openclaw.sh .
|
| 14 |
+
COPY nginx.conf /etc/nginx/nginx.conf
|
| 15 |
RUN chmod +x start-openclaw.sh
|
| 16 |
|
| 17 |
ENV PORT=7860 HOME=/root
|