File size: 524 Bytes
985b879
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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"]