mirror of
https://github.com/cdr/code-server.git
synced 2026-05-08 20:43:12 +02:00
Dockerfile: use relative path instead of $PWD for CMD
Thanks @ay-b
This commit is contained in:
parent
26edea5098
commit
449d51d24d
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue