mirror of
https://github.com/frankiejun/node-ws.git
synced 2026-05-31 18:09:31 +08:00
Update Dockerfile
This commit is contained in:
@@ -6,6 +6,8 @@ COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
RUN npm install -r package.json
|
||||
RUN apk update && apk add --no-cache openssl curl &&\
|
||||
chmod +x index.js &&\
|
||||
npm install
|
||||
|
||||
CMD ["node", "index.js"]
|
||||
|
||||
Reference in New Issue
Block a user