key
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Start from the code-server Debian base image
|
||||
ARG NGROK
|
||||
ARG NGROK=""
|
||||
FROM codercom/code-server:latest
|
||||
|
||||
USER coder
|
||||
@@ -52,7 +52,7 @@ RUN sudo apt-get install libicu-dev -y && sudo apt-get install build-essential -
|
||||
RUN curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && \
|
||||
echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && \
|
||||
sudo apt update && sudo apt install ngrok
|
||||
RUN ngrok config add-authtoken $NGROK
|
||||
RUN ngrok config add-authtoken ${NGROK}
|
||||
# Use our custom entrypoint script first
|
||||
COPY deploy-container/entrypoint.sh /usr/bin/deploy-container-entrypoint.sh
|
||||
ENTRYPOINT ["/usr/bin/deploy-container-entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user