Move to a single Dockerfile
This commit is contained in:
parent
acaab12450
commit
98439286a1
3 changed files with 0 additions and 23 deletions
|
@ -7,7 +7,6 @@ pipeline:
|
|||
auto_tag: true
|
||||
registry: git.mylloon.fr
|
||||
username: ${CI_REPO_OWNER}
|
||||
dockerfile: Docker/Dockerfile.debian
|
||||
password:
|
||||
from_secret: cb_token
|
||||
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