Compare commits

...

7 Commits

3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ WORKDIR /app
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y build-essential pip net-tools iputils-ping iproute2 curl apt-get install -y build-essential pip net-tools iputils-ping iproute2 curl
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get install -y nodejs RUN apt-get install -y nodejs
COPY . /app/ COPY . /app/

View File

@ -51,11 +51,11 @@ if [ -d "node_modules" ]; then
fi fi
# Install dependencies # Install dependencies
#npm install npm install
## PROJECT NEEDS ## PROJECT NEEDS
echo "Building app... from $(git rev-parse --abbrev-ref HEAD)" echo "Building app... from $(git rev-parse --abbrev-ref HEAD)"
#npm run-script build npm run-script build
cp -r {.env,app.js,package.json,server,public,doc,Dockerfile} dist/ cp -r {.env,app.js,package.json,server,public,doc,Dockerfile} dist/
#cp -r ./* dist/ #cp -r ./* dist/

View File

@ -29,4 +29,4 @@
"ts-node-dev": "^2.0.0", "ts-node-dev": "^2.0.0",
"watchify": "^4.0.0" "watchify": "^4.0.0"
} }
} }