Compare commits
7 Commits
LINXD-2842
...
update-bui
Author | SHA1 | Date | |
---|---|---|---|
230d5b6bce | |||
73c7700ded | |||
9e66772b53 | |||
5ef66af3f8 | |||
1b29d43580 | |||
dd5af12c7c | |||
a5c00ba10a |
@ -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/
|
||||||
|
4
build.sh
4
build.sh
@ -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/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user