mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(Dockerfile) Entrypoint: set absolute: add ability to override WorkDir
This commit is contained in:
parent
d50823e6a1
commit
a73fddfeb2
2 changed files with 6 additions and 2 deletions
|
|
@ -11,10 +11,12 @@ RUN npm install --production && \
|
|||
|
||||
COPY . /usr/src/app
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
ENV cloudcmd_terminal true
|
||||
ENV cloudcmd_terminal_path gritty
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT ["bin/cloudcmd.js"]
|
||||
ENTRYPOINT /usr/src/app/bin/cloudcmd.js
|
||||
|
||||
|
|
|
|||
|
|
@ -15,10 +15,12 @@ RUN npm install --production && \
|
|||
|
||||
COPY . /usr/src/app
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
ENV cloudcmd_terminal true
|
||||
ENV cloudcmd_terminal_path gritty
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT ["bin/cloudcmd.js"]
|
||||
ENTRYPOINT /usr/src/app/bin/cloudcmd.js
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue