Spaces:
Building
Building
# Kéo image từ Docker Hub | |
FROM 8888888888020385/abz:1.3 | |
# Đặt thư mục làm việc (tuỳ chọn) | |
USER root | |
WORKDIR /app | |
# RUN cp -r /root/.cloudflared /etc/cloudflared | |
RUN chmod +x /app/websocket.sh && \ | |
chmod -R 777 /app/webapp /app/websocket /app/cloudflared /etc/cloudflared /root/.cloudflared | |
RUN chmod 777 /etc/cloudflared | |
RUN chmod 777 /etc/cloudflared/* | |
RUN ls /root/.cloudflared | |
RUN ls /etc/cloudflared/ | |
ENV PATH=/home/user/.npm-global/bin:$PATH | |
USER 1000 | |
#### ABC | |
CMD ["http-server",".","-p","7860"] | |