mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-24 05:13:04 +00:00
add supervisor
This commit is contained in:
parent
38bebeda34
commit
147873470c
2 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ FROM node:16
|
|||
|
||||
RUN mkdir /app/
|
||||
WORKDIR /app/
|
||||
RUN npm install pm2 -g
|
||||
|
||||
COPY front-end/ /app/front-end/
|
||||
WORKDIR /app/front-end/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "Starting server..."
|
||||
node server.js
|
||||
pm2-runtime server.js
|
||||
|
|
Loading…
Reference in a new issue