This commit is contained in:
Max Hunt 2020-05-20 10:41:18 +01:00
parent bcc878396b
commit 9b4af8671b
2 changed files with 10 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
node_modules
npm-debug.log

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM node:latest
WORKDIR /usr/src/app
COPY . .
RUN npm install
EXPOSE 5000
RUN apt update
RUN apt install htop
CMD [ "node", "server.js" ]