| 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 |
|
|
| |
| 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"] |
|
|