mirror of
https://github.com/karl0ss/orvibo-b25-server-kex.git
synced 2025-04-29 12:53:40 +01:00
dockerfile
This commit is contained in:
parent
09092049d0
commit
33150da9c8
@ -1,17 +1,13 @@
|
||||
FROM node:10
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install app dependencies
|
||||
# A wildcard is used to ensure both package.json AND package-lock.json are copied
|
||||
# where available (npm@5+)
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
# Bundle app source
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000 10001/udp
|
||||
|
||||
CMD [ "node", "Example.js" ]
|
Loading…
x
Reference in New Issue
Block a user