Use local image as cover if found, adding release-it version control

This commit is contained in:
Mark Cooper 2021-08-21 13:02:24 -05:00
parent 30700c1eb0
commit eab8edce8d
18 changed files with 2200 additions and 142 deletions

View file

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