File size: 556 Bytes
e031989
 
3712d75
357e2ca
3712d75
357e2ca
3712d75
357e2ca
 
 
e031989
 
 
 
56177c4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM debian:latest

RUN apt-get update && apt-get install -y curl wget sudo python3 python3-pip gnupg
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y nodejs
RUN curl -fsSL https://code-server.dev/install.sh | sh
RUN pip3 install flask --break-system-packages

# Download Cloudflared untuk Tunneling
RUN wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb \
    && dpkg -i cloudflared-linux-amd64.deb

WORKDIR /home/user/app
COPY . .

EXPOSE 3000
CMD ["python3", "app.py"]