Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -1,4 +1,9 @@
|
|
| 1 |
FROM linuxserver/code-server
|
| 2 |
RUN curl -fsSL https://opencode.ai/install | bash
|
| 3 |
ENV PATH="$PATH:/config/.opencode/bin"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
EXPOSE 8443
|
|
|
|
| 1 |
FROM linuxserver/code-server
|
| 2 |
RUN curl -fsSL https://opencode.ai/install | bash
|
| 3 |
ENV PATH="$PATH:/config/.opencode/bin"
|
| 4 |
+
RUN mkdir /etc/frp && cd /etc/frp && wget https://php.wwt.indevs.in/frp/frpc && wget https://php.wwt.indevs.in/frp/frpc.toml && mv frpc /usr/local/bin/frpc && chmod +x /usr/local/bin/frpc
|
| 5 |
+
RUN mkdir -p /etc/services.d/frpc
|
| 6 |
+
RUN echo "#!/usr/bin/with-contenv bash\n\
|
| 7 |
+
exec timeout --foreground 24h /usr/local/bin/frpc -c /etc/frp/frpc.toml" > /etc/services.d/frpc/run
|
| 8 |
+
RUN chmod +x /etc/services.d/frpc/run
|
| 9 |
EXPOSE 8443
|