Archived
1
0

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. # 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