diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index f6faca4..286dea2 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -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: diff --git a/Docker/Dockerfile.debian b/Docker/Dockerfile.debian deleted file mode 100644 index 2435fcf..0000000 --- a/Docker/Dockerfile.debian +++ /dev/null @@ -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"] diff --git a/Docker/Dockerfile.alpine b/Dockerfile similarity index 100% rename from Docker/Dockerfile.alpine rename to Dockerfile