From 8f18c74d9f6a6dc1d551ec74e8c200cb2090b940 Mon Sep 17 00:00:00 2001 From: QuiteAFancyEmerald <46467239+QuiteAFancyEmerald@users.noreply.github.com> Date: Sun, 11 Aug 2024 10:25:12 -0700 Subject: [PATCH] added docker support for the azure nerds --- Dockerfile | 18 ++++++++++++++++++ repl.sh | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 Dockerfile 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