Remove docker files

This commit is contained in:
Cadence Ember 2022-04-16 11:55:33 +12:00
parent 6b667f5f00
commit 4bf96b8d49
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
3 changed files with 0 additions and 52 deletions

View File

@ -1,27 +0,0 @@
# Editor stuff
.vscode
# Test stuff
test
coverage
.nyc_output
src/lib/utils/saved_requests/files
# Database stuff
db
*.log
*.csv
# Personal stuff
notes.txt
config.js
# Cached stuff
db
node_modules
# Stuff Docker doesn't need
.git
art
*.log
*.csv

View File

@ -1,13 +0,0 @@
FROM node:14.5.0-alpine as build
RUN apk --no-cache add git python3 make g++
WORKDIR /app
COPY . .
COPY ./.config.js.default ./config.js
RUN npm install --no-optional
FROM node:14.5.0-alpine as app
WORKDIR /app
COPY --from=build /app /app
RUN apk add --no-cache graphicsmagick
EXPOSE 10407
CMD ["npm", "start"]

View File

@ -1,12 +0,0 @@
version: '3'
volumes:
db:
services:
bibliogram:
build: .
image: cloudrac3r/bibliogram
volumes:
- db:/app/db
ports:
- 10407:10407
restart: unless-stopped