diff --git a/.dockerignore b/.dockerignore index 0c4d23f..76ad702 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,18 +1,10 @@ -.dockerignore -.editorconfig -.env* -.git -.github -.gitignore -.prettier* -.vscode -ca/*.crt -ca/*.key -ca/*.pem -ca/*.req -docker-compose* -Dockerfile* -LICENSE -dist* -node_modules* -README.md \ No newline at end of file +* +!.eslintrc.js +!.prettierrc +!nest-cli.json +!src/ +!test/ +!package-lock.json +!package.json +!tsconfig.build.json +!tsconfig.json \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 5aa1385..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,36 +0,0 @@ -include: - - project: "to-be-continuous/docker" - ref: "2.0.0" - file: "/templates/gitlab-ci-docker.yml" - -variables: - PROD_REF: "/^main$/" - AUTODEPLOY_TO_PROD: "true" # Always publish - - DOCKER_REGISTRY_RELEASE_USER: kiliandeca - # DOCKER_REGISTRY_RELEASE_PASSWORD: # Defined in CI/CD Settings - DOCKER_RELEASE_IMAGE: docker.io/kiliandeca/excalidraw-storage-backend:latest - -stages: - - build - - package-build - - package-test - - publish - -.node-template: - image: node:14-alpine - before_script: - - npm ci --cache .npm --prefer-offline - cache: - key: npm-cache - paths: - - .npm-cache - -node-build: - stage: build - extends: .node-template - script: - - npm run build - artifacts: - paths: - - dist