未验证 提交 449d51d2 编写于 作者: A Anmol Sethi

Dockerfile: use relative path instead of $PWD for CMD

Thanks @ay-b
上级 26edea50
......@@ -29,5 +29,4 @@ RUN apt-get install -y locales && \
# configured in /etc/default/locale so we need to set it manually.
ENV LANG=en_US.UTF-8
ENTRYPOINT code-server
# Unfortunately `.` does not work with code-server so we use shell form.
CMD code-server $PWD
CMD ["."]
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册