mirror of https://git.sr.ht/~cadence/bibliogram
Upload dockerfiles
This commit is contained in:
parent
6b44f68050
commit
64ab9cfcee
|
@ -0,0 +1 @@
|
|||
node_modules
|
|
@ -0,0 +1,7 @@
|
|||
FROM node:12.18.1-alpine
|
||||
RUN apk --no-cache add git python3 make g++
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm install --no-optional
|
||||
EXPOSE 10407
|
||||
CMD ["npm", "start"]
|
|
@ -0,0 +1,9 @@
|
|||
bibliogram:
|
||||
build: .
|
||||
volumes:
|
||||
- ./config.js:/app/config.js:ro
|
||||
- ./db:/app/db
|
||||
ports:
|
||||
- "10407:10407"
|
||||
restart:
|
||||
unless-stopped
|
Loading…
Reference in New Issue