diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 41cb20a..0000000 --- a/.dockerignore +++ /dev/null @@ -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 diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 54fd70f..0000000 --- a/Dockerfile +++ /dev/null @@ -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"] diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index f1fa818..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: '3' -volumes: - db: -services: - bibliogram: - build: . - image: cloudrac3r/bibliogram - volumes: - - db:/app/db - ports: - - 10407:10407 - restart: unless-stopped