1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00

Dockerfile: use relative path instead of $PWD for CMD

Thanks @ay-b
This commit is contained in:
Anmol Sethi 2019-03-09 18:45:56 -05:00
parent 26edea5098
commit 449d51d24d
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

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