Fix dockerfile

This commit is contained in:
Tim Ruffles
2019-12-19 17:22:47 +00:00
parent 5566323b92
commit 2349eb5872
2 changed files with 7 additions and 2 deletions
+4 -2
View File
@@ -1,7 +1,9 @@
FROM node:12
COPY . .
WORKDIR /opt/humans.txt
COPY . /opt/humans.txt
RUN npm i --production
ENTRYPOINT ["node" , "action.js"]
ENTRYPOINT ["bash", "/opt/humans.txt/run.sh"]
+3
View File
@@ -0,0 +1,3 @@
cd /opt/humans.txt
node action.js $@