diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..e3b3fad0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM node:20 + +WORKDIR /app + +COPY package*.json ./ + +RUN npm install + +COPY . . + +EXPOSE 8080 + +CMD ["npm", "start"] + +# Build and Run Commands + +# docker build -t holyunblocker . +# docker run -p 8080:8080 holyunblocker \ No newline at end of file diff --git a/repl.sh b/repl.sh index a9d43e68..a7695f5a 100644 --- a/repl.sh +++ b/repl.sh @@ -9,7 +9,7 @@ export NVM_DIR="$NVM_HOME/.nvm" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # --lts would be your desired version, i.e. 10, 12, --latest-npm. --lts is (obviously) the LTS version. -nvm install 16 +nvm install 20 npm install