Ajout RSS + Tentative fix lecture de musique HS
This commit is contained in:
55
Dockerfile
55
Dockerfile
@@ -1,28 +1,29 @@
|
||||
FROM node:alpine as base
|
||||
|
||||
ENV NODE_ENV=production
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY ["package.json", "package-lock.json*", "./"]
|
||||
RUN apk add --no-cache ffmpeg python3 make g++
|
||||
RUN npm install --production --verbose && mv node_modules ../
|
||||
|
||||
COPY . .
|
||||
RUN chown -R node /usr/src/app
|
||||
USER node
|
||||
|
||||
|
||||
FROM base as tamiseur
|
||||
RUN mv .env1 .env
|
||||
RUN rm .env2 .env3
|
||||
CMD ["npm", "start"]
|
||||
|
||||
FROM base as funky
|
||||
RUN mv .env2 .env
|
||||
RUN rm .env1 .env3
|
||||
CMD ["npm", "start"]
|
||||
|
||||
FROM base as groove
|
||||
RUN mv .env3 .env
|
||||
RUN rm .env1 .env2
|
||||
FROM node:lts-alpine as base
|
||||
|
||||
ENV NODE_ENV=production
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY ["package.json", "package-lock.json*", "./"]
|
||||
RUN apk add --no-cache ffmpeg python3 make g++
|
||||
RUN npm install -g ts-node
|
||||
RUN npm install --production --verbose && mv node_modules ../
|
||||
|
||||
COPY . .
|
||||
RUN chown -R node /usr/src/app
|
||||
USER node
|
||||
|
||||
|
||||
FROM base as tamiseur
|
||||
RUN mv .env1 .env
|
||||
RUN rm .env2 .env3
|
||||
CMD ["npm", "start"]
|
||||
|
||||
FROM base as funky
|
||||
RUN mv .env2 .env
|
||||
RUN rm .env1 .env3
|
||||
CMD ["npm", "start"]
|
||||
|
||||
FROM base as groove
|
||||
RUN mv .env3 .env
|
||||
RUN rm .env1 .env2
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user