File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11FROM node:8.7.0-alpine
22RUN apk update && apk add git
3- RUN git clone https://github.com/jt3k/chat-linker.git /usr/app/src && cd /usr/app/src && git checkout 4aab67aa6a59368896d427f14060c59484ff0a37
4- RUN cd /usr/app/src && npm install # TODO: Not stable enough; migrate to yarn
5- COPY app-config.json /usr/app/src/ app-config.json
6- WORKDIR /usr/app/src
3+ RUN git clone https://github.com/jt3k/chat-linker.git /usr/app && cd /usr/app && git checkout 4aab67aa6a59368896d427f14060c59484ff0a37
4+ RUN cd /usr/app && npm install && npm run build # TODO: Not stable enough; migrate to yarn
5+ COPY app-config.json /usr/app/app-config.json
6+ WORKDIR /usr/app
77ENV NODE_ENV prod
8- CMD ["node" , "app.js" ]
8+ CMD ["node" , "dist/ app.js" ]
You can’t perform that action at this time.
0 commit comments