-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
53 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,53 @@ | ||
FROM node:15.8.0-alpine3.12 | ||
|
||
ENV NODE_ENV=production | ||
|
||
# | ||
|
||
#ENV FORCE_COLOR=0 | ||
#ENV NODE_DISABLE_COLORS=0 | ||
#ENV NODE_ENV=production | ||
#ENV NO_UPDATE_NOTIFIER=1 | ||
|
||
#ENV TERM=xterm-256color | ||
#ENV TERM=linux | ||
#ENV TERM=dumb | ||
|
||
# | ||
|
||
#ENV FORCE_COLOR=0 | ||
#ENV NO_UPDATE_NOTIFIER=true | ||
#ENV NODE_DISABLE_COLORS=1 | ||
#ENV TERM=dumb | ||
|
||
# | ||
|
||
WORKDIR / | ||
RUN npm config set update-notifier false 2> /dev/null | ||
RUN npm install --global nodemon pm2 | ||
|
||
WORKDIR /xtnpm | ||
RUN echo -e "#\n#" ; echo [=DT=] ; echo `date` ; echo -e "#\n#" ; npm install @cogsmith/xt ; echo -e "#\n#" ; cp -a node_modules / ; npm list --depth=0 ; echo -e "#\n#" ; ls -laR /node_modules/@cogsmith ; echo -e "#\n#" | ||
|
||
WORKDIR /xtlib | ||
COPY ["package.json","package-lock.json*","./"] | ||
RUN npm install | ||
COPY . . | ||
RUN chmod a+x bin/* ; cp bin/* /bin | ||
RUN node --check index.js ; echo -e "#\n#" | ||
|
||
# | ||
|
||
ENV FORCE_COLOR=1 | ||
#ENV NO_UPDATE_NOTIFIER=0 | ||
#ENV NODE_DISABLE_COLORS=0 | ||
#ENV TERM=linux | ||
|
||
#WORKDIR /app | ||
#ENTRYPOINT ["node","app.js"] | ||
#CMD ["--loglevel trace","--logjson 0"] | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["/bin/xtnode"] | ||
CMD ["--loglevel trace","--logjson 0"] | ||
FROM node:15.8.0-alpine3.12 | ||
|
||
ENV NODE_ENV=production | ||
|
||
# | ||
|
||
#ENV FORCE_COLOR=0 | ||
#ENV NODE_DISABLE_COLORS=0 | ||
#ENV NODE_ENV=production | ||
#ENV NO_UPDATE_NOTIFIER=1 | ||
|
||
#ENV TERM=xterm-256color | ||
#ENV TERM=linux | ||
#ENV TERM=dumb | ||
|
||
# | ||
|
||
#ENV FORCE_COLOR=0 | ||
#ENV NO_UPDATE_NOTIFIER=true | ||
#ENV NODE_DISABLE_COLORS=1 | ||
#ENV TERM=dumb | ||
|
||
# | ||
|
||
WORKDIR / | ||
RUN apk add git | ||
RUN npm config set update-notifier false 2> /dev/null | ||
RUN npm install --global nodemon pm2 | ||
|
||
WORKDIR /xtnpm | ||
RUN echo -e "#\n#" ; echo [=DT=] ; echo `date` ; echo -e "#\n#" ; npm install @cogsmith/xt ; echo -e "#\n#" ; cp -a node_modules / ; npm list --depth=0 ; echo -e "#\n#" ; ls -laR /node_modules/@cogsmith ; echo -e "#\n#" | ||
|
||
WORKDIR /xtlib | ||
COPY ["package.json","package-lock.json*","./"] | ||
RUN npm install | ||
COPY . . | ||
RUN chmod a+x bin/* ; cp bin/* /bin | ||
RUN node --check index.js ; echo -e "#\n#" | ||
|
||
# | ||
|
||
ENV FORCE_COLOR=1 | ||
#ENV NO_UPDATE_NOTIFIER=0 | ||
#ENV NODE_DISABLE_COLORS=0 | ||
#ENV TERM=linux | ||
|
||
#WORKDIR /app | ||
#ENTRYPOINT ["node","app.js"] | ||
#CMD ["--loglevel trace","--logjson 0"] | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["/bin/xtnode"] | ||
CMD ["--loglevel trace","--logjson 0"] |