vscoding / Dockerfile
lancelotly's picture
Update Dockerfile
b830019 verified
raw
history blame
677 Bytes
FROM codercom/code-server:latest
USER root
RUN chmod -R 777 /usr/local/bin/fixuid && \
chown root:root /usr/local/bin/fixuid && \
chmod u+s /usr/local/bin/fixuid
RUN set -x && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y nodejs npm python3 cron nginx jq sshpass rclone unzip libatomic1 && \
# git curl wget tzdata perl openssl openssh-client procps
apt-get clean && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" >/etc/timezone && \
npm install -g nodemon ts-node
COPY docker-entrypoint.sh /home/coder
# RUN ls /home/coder
# ENTRYPOINT ["docker-entrypoint.sh"]
# EXPOSE 8080