mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-04-26 00:13:57 -05:00
Remove old Docker stuff, unused
This commit is contained in:
parent
38739fef7e
commit
102530a665
|
|
@ -1,4 +0,0 @@
|
||||||
.git
|
|
||||||
config.json
|
|
||||||
logs
|
|
||||||
node_modules
|
|
||||||
15
Dockerfile
15
Dockerfile
|
|
@ -1,15 +0,0 @@
|
||||||
FROM node:18-alpine
|
|
||||||
|
|
||||||
RUN apk add --no-cache python3 make gcc g++
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
COPY "docker/entrypoint.sh" ./
|
|
||||||
|
|
||||||
COPY package*.json ./
|
|
||||||
RUN npm install
|
|
||||||
|
|
||||||
COPY . ./
|
|
||||||
|
|
||||||
VOLUME [ "/app/config.json" ]
|
|
||||||
|
|
||||||
CMD ["sh", "entrypoint.sh"]
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
files='config.json'
|
|
||||||
|
|
||||||
for file in $files; do
|
|
||||||
if [ ! -f $file ]; then
|
|
||||||
echo "$PWD/$file file does not exist. Please mount and try again."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
exec node src/server.js
|
|
||||||
Loading…
Reference in New Issue
Block a user