chore: update Dockerfile
This commit is contained in:
parent
31f7728602
commit
f048b46667
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
FROM node:16-alpine
|
||||
|
||||
RUN apk update && apk add bash
|
||||
|
||||
WORKDIR /usr/src
|
||||
COPY app/ /usr/src/
|
||||
RUN npm install --omit=dev
|
||||
RUN npm ci --audit=false --bin-links=false --fund=false
|
||||
EXPOSE 2222/tcp
|
||||
ENTRYPOINT [ "/usr/local/bin/node", "index.js" ]
|
||||
|
|
Loading…
Reference in a new issue