Skip to content

Commit fc97ebd

Browse files
feat(user1user2 apps): wip
1 parent d9467b3 commit fc97ebd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

‎user-local1.Dockerfile

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
FROM node:14.17
2+
3+
WORKDIR /app
4+
COPY common-files common-files
5+
COPY config/default.js config/default.js
6+
COPY config/default.js /app/test/ping-pong/user-local1/config/default.js
7+
COPY cli cli
8+
WORKDIR /app/cli
9+
RUN npm ci
10+
11+
WORKDIR /app/test/ping-pong/user-local1
12+
RUN apt-get update -y
13+
RUN apt-get install -y netcat-openbsd
14+
COPY test/ping-pong/user-local1/package*.json test/ping-pong/user-local1/pre-start-script.sh ./
15+
COPY test/ping-pong/user-local1/src src
16+
COPY test/ping-pong/user-local1/docker-entrypoint.sh docker-entrypoint.sh
17+
18+
# websocket port 8080
19+
EXPOSE 8080
20+
21+
RUN npm ci
22+
ENTRYPOINT ["/app/test/ping-pong/user-local1/docker-entrypoint.sh"]
23+
24+
CMD ["npm", "start"]

0 commit comments

Comments
 (0)