mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-12 03:20:02 -04:00
added docker support for the azure nerds
This commit is contained in:
parent
a68ff00fd4
commit
8f18c74d9f
2 changed files with 19 additions and 1 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal 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
|
2
repl.sh
2
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue