Added dockerfile
This commit is contained in:
parent
b4368eb8e0
commit
e0ced417fb
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM node:alpine
|
||||
|
||||
# Setup
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
# Copy code
|
||||
COPY app.js .
|
||||
COPY appTest.js .
|
||||
COPY logger.js .
|
||||
COPY plugins/ ./plugins/
|
||||
|
||||
CMD [ "node", "app.js" ]
|
Loading…
Reference in New Issue
Block a user