feat: Use OS's ffmpeg instead of npm package #90
3 changed files with 0 additions and 23 deletions
|
@ -7,7 +7,6 @@ pipeline:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
registry: git.mylloon.fr
|
registry: git.mylloon.fr
|
||||||
username: ${CI_REPO_OWNER}
|
username: ${CI_REPO_OWNER}
|
||||||
dockerfile: Docker/Dockerfile.debian
|
|
||||||
password:
|
password:
|
||||||
from_secret: cb_token
|
from_secret: cb_token
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
# syntax=docker/dockerfile:1
|
|
||||||
|
|
||||||
FROM node:19.7.0-bullseye-slim
|
|
||||||
|
|
||||||
ENV DOCKERIZED=1
|
|
||||||
RUN mkdir /config
|
|
||||||
RUN chown node:node /config
|
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
RUN apt-get install -y dumb-init
|
|
||||||
ENV NODE_ENV=production
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
COPY --chown=node:node . .
|
|
||||||
|
|
||||||
RUN npm ci --only=production
|
|
||||||
RUN npx tsc
|
|
||||||
|
|
||||||
RUN rm -r src/ tsconfig.json
|
|
||||||
RUN npm uninstall typescript @types/sqlite3
|
|
||||||
|
|
||||||
CMD ["dumb-init", "node", "./dist/index.js"]
|
|
Loading…
Reference in a new issue