feat: docker publishing

This commit is contained in:
2023-06-27 12:06:08 +02:00
parent c4260dc882
commit 129f25d1f0
18 changed files with 210 additions and 378 deletions

View File

@@ -1,10 +0,0 @@
FROM registry.gitlab.com/openstapps/projectmanagement/node:v18
USER node
ENV NODE_ENV=production
WORKDIR /app
COPY --chown=node:node . .
EXPOSE 3000
ENTRYPOINT ["node", "app.js"]

View File

@@ -26,7 +26,6 @@
],
"scripts": {
"build": "tsup-node",
"deploy": "pnpm --prod --filter=@openstapps/api-cli deploy ../../.deploy/api-cli",
"format": "prettier . -c --ignore-path ../../.gitignore",
"format:fix": "prettier --write . --ignore-path ../../.gitignore",
"lint": "tsc --noEmit && eslint --ext .ts src/",