mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-26 21:59:38 +00:00
Use local image as cover if found, adding release-it version control
This commit is contained in:
parent
30700c1eb0
commit
eab8edce8d
18 changed files with 2200 additions and 142 deletions
|
|
@ -1,6 +1,5 @@
|
|||
### STAGE 0: FFMPEG ###
|
||||
FROM jrottenberg/ffmpeg:4.1-alpine AS ffmpeg
|
||||
# FROM alfg/ffmpeg AS ffmpeg
|
||||
|
||||
### STAGE 1: Build client ###
|
||||
FROM node:12-alpine AS build
|
||||
|
|
@ -11,8 +10,6 @@ RUN npm run generate
|
|||
|
||||
### STAGE 2: Build server ###
|
||||
FROM node:12-alpine
|
||||
# RUN apk add --no-cache ffmpeg
|
||||
# RUN apt-get install -y ffmpeg
|
||||
ENV NODE_ENV=production
|
||||
ENV LOG_LEVEL=INFO
|
||||
COPY --from=build /client/dist /client/dist
|
||||
|
|
@ -22,5 +19,4 @@ COPY package.json package.json
|
|||
COPY server server
|
||||
RUN npm install --production
|
||||
EXPOSE 80
|
||||
# CMD ["node", "index.js"]
|
||||
CMD ["npm", "start"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue