added docker support for the azure nerds

This commit is contained in:
QuiteAFancyEmerald 2024-08-11 10:25:12 -07:00
parent a68ff00fd4
commit 8f18c74d9f
No known key found for this signature in database
GPG key ID: 2C9730062CD48870
2 changed files with 19 additions and 1 deletions

18
Dockerfile Normal file
View file

@ -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

View file

@ -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