Skip to content

Commit

Permalink
⬆️ Use node 14 for socket
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Sep 3, 2023
1 parent 9011e49 commit 5bd14b4
Show file tree
Hide file tree
Showing 2 changed files with 1,155 additions and 6 deletions.
11 changes: 5 additions & 6 deletions socket.io/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM node:8-alpine
ADD package.json /tmp/package.json
RUN cd /tmp && yarn install
RUN mv /tmp/node_modules /node_modules
WORKDIR /
ADD . /
FROM node:14
WORKDIR /app
COPY package.json package-lock.json /app/
RUN npm install
ADD . /app
CMD node server.js
Loading

0 comments on commit 5bd14b4

Please sign in to comment.