Remove old Docker stuff, unused

This commit is contained in:
Jonathan Barrow 2023-08-17 22:33:10 -04:00
parent 38739fef7e
commit 102530a665
No known key found for this signature in database
GPG Key ID: E86E9FE9049C741F
3 changed files with 0 additions and 31 deletions

View File

@ -1,4 +0,0 @@
.git
config.json
logs
node_modules

View File

@ -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"]

View File

@ -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