This commit is contained in:
Tommy Parnell
2022-04-25 13:39:31 -04:00
parent 59b224a13e
commit 9e549dc35e

View File

@@ -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"]