ThongCoder commited on
Commit
c3761c9
·
verified ·
1 Parent(s): 7954958

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -36
Dockerfile DELETED
@@ -1,36 +0,0 @@
1
- FROM ubuntu:22.04
2
- ENV DEBIAN_FRONTEND=noninteractive
3
-
4
- # Install basics + add deadsnakes for Python 3.12
5
- RUN apt-get update && apt-get install -y \
6
- curl wget git bash sudo build-essential unzip gnupg apt-transport-https software-properties-common ca-certificates \
7
- openjdk-17-jdk mono-complete \
8
- && add-apt-repository ppa:deadsnakes/ppa -y \
9
- && apt-get update && apt-get install -y python3.12 python3.12-venv python3-pip \
10
- && rm -rf /var/lib/apt/lists/*
11
-
12
- # Install latest Node.js + npm (for JavaScript)
13
- RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
14
- && apt-get install -y nodejs
15
-
16
- # Install code-server via curl script
17
- RUN curl -fsSL https://code-server.dev/install.sh | sh
18
-
19
- # Workspace
20
- RUN mkdir -p /workspace
21
- WORKDIR /workspace
22
-
23
- # Copy backup/restore scripts
24
- COPY autobackup.py restore.py /app/
25
- COPY entrypoint.py /app/
26
-
27
- # Expose HF Spaces port
28
- EXPOSE 7860
29
-
30
- RUN pip install huggingface_hub[cli]
31
- RUN chmod -R 777 /workspace
32
-
33
- RUN mkdir -p /home/coder && chmod -R 777 /home
34
-
35
- # Run entrypoint
36
- CMD ["python3.12", "/app/entrypoint.py"]