Skip to content

Commit

Permalink
[Fix] 🐛 Init Error on CodeSandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Sep 22, 2024
1 parent 664031b commit 67b2668
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM zklcdc/go-proxy-bingai:latest-with-pass

USER root

RUN apt-get update && apt-get install wget curl -y

RUN wget https://github.com/Harry-zklcdc/go-proxy-bingai/releases/latest/download/go-proxy-bingai-linux-amd64.tar.gz -O go-proxy-bingai-linux-amd64.tar.gz && \
tar -zxvf go-proxy-bingai-linux-amd64.tar.gz && \
chmod +x go-proxy-bingai
Expand All @@ -10,6 +14,8 @@ RUN wget https://github.com/Harry-zklcdc/go-bingai-pass/releases/latest/download

RUN rm go-bingai-pass-linux-amd64.tar.gz go-proxy-bingai-linux-amd64.tar.gz

USER $GBP_USER

COPY supervisor.conf /etc/supervisor/conf.d/supervisor.conf

EXPOSE 8080 45678 9005
Expand Down

0 comments on commit 67b2668

Please sign in to comment.