Remove .js suffix from node invocations

Remove the .js suffix from help texts of node invocations as well as
actual invocations as this is not necessary.  Removing it opens up the
possibility of restructuring the code into a directory with the same
name.
This commit is contained in:
Hornwitser committed 2019-10-28 19:45:32 +01:00
1 parent a9a382b993
commit 6bde8a2219
6 files changed
+34 -34

No files matched your search

+2 -2
View File
@@ -9,7 +9,7 @@ WORKDIR factorioClusterio
RUN mkdir instances sharedMods
RUN cp config.json.dist config.json
RUN node client.js download
RUN node client download
LABEL maintainer "Sir3lit@gmail.com"
@@ -18,4 +18,4 @@ VOLUME /factorioClusterio/instances
VOLUME /factorioClusterio/sharedMods
VOLUME /factorioClusterio/sharedPlugins
CMD RCONPORT="$RCONPORT" FACTORIOPORT="$FACTORIOPORT" MODE="$MODE" node $MODE\.js start $INSTANCE
CMD RCONPORT="$RCONPORT" FACTORIOPORT="$FACTORIOPORT" MODE="$MODE" node $MODE start $INSTANCE