docker/entrypoint.sh -> docker-entrypoint.sh
This commit is contained in:
parent
84d4b9b7bc
commit
72d8550c86
2 changed files with 4 additions and 5 deletions
|
|
@ -40,10 +40,9 @@ RUN npm install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Shell scripts need Linux line endings. On Windows, git might be configured to check out dos/CRLF line endings, so we convert them for those people in case they want to build the image.
|
# Shell scripts need Linux line endings. On Windows, git might be configured to check out dos/CRLF line endings, so we convert them for those people in case they want to build the image. They could also use --config core.autocrlf=input
|
||||||
RUN dos2unix ./docker/*.sh
|
RUN dos2unix *.sh && chmod +x *.sh
|
||||||
RUN mv ./docker/entrypoint.sh /usr/local/bin/entrypoint \
|
COPY docker-entrypoint.sh /usr/local/bin/
|
||||||
&& chmod +x /usr/local/bin/entrypoint
|
|
||||||
|
|
||||||
# Configure VNC via environment variables:
|
# Configure VNC via environment variables:
|
||||||
ENV VNC_PORT 5900
|
ENV VNC_PORT 5900
|
||||||
|
|
@ -60,6 +59,6 @@ ENV DEPTH 24
|
||||||
ENV SHOW 1
|
ENV SHOW 1
|
||||||
|
|
||||||
# Script to setup display server & VNC is always executed.
|
# Script to setup display server & VNC is always executed.
|
||||||
ENTRYPOINT ["entrypoint"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
# Default command to run. This is replaced by appending own command, e.g. `docker run ... node prime-gaming` to only run this script.
|
# Default command to run. This is replaced by appending own command, e.g. `docker run ... node prime-gaming` to only run this script.
|
||||||
CMD node epic-games; node prime-gaming
|
CMD node epic-games; node prime-gaming
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue