15 lines
190 B
Docker
15 lines
190 B
Docker
|
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" ]
|