Dockerfile: use relative path instead of $PWD for CMD
Thanks @ay-b
This commit is contained in:
parent
26edea5098
commit
449d51d24d
@ -29,5 +29,4 @@ RUN apt-get install -y locales && \
|
|||||||
# configured in /etc/default/locale so we need to set it manually.
|
# configured in /etc/default/locale so we need to set it manually.
|
||||||
ENV LANG=en_US.UTF-8
|
ENV LANG=en_US.UTF-8
|
||||||
ENTRYPOINT code-server
|
ENTRYPOINT code-server
|
||||||
# Unfortunately `.` does not work with code-server so we use shell form.
|
CMD ["."]
|
||||||
CMD code-server $PWD
|
|
||||||
|
Reference in New Issue
Block a user