Skip to content

Commit 9eee648

Browse files
committed
Update chat-linker build instruction
1 parent 401a62a commit 9eee648

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

omnissiah/chat-linker/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM node:8.7.0-alpine
22
RUN 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
77
ENV NODE_ENV prod
8-
CMD ["node", "app.js"]
8+
CMD ["node", "dist/app.js"]

0 commit comments

Comments
 (0)