Target dockerfile prod step in prod
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
tobias 2024-06-24 18:00:44 +02:00
parent cb0a2f77a8
commit efec10e6d6
3 changed files with 29 additions and 8 deletions

View File

@ -5,6 +5,7 @@ steps:
- name: publish nextjs container
image: plugins/docker
settings:
target: prod
username: 3wordchant
password:
from_secret: git_autonomic_zone_token_3wc

View File

@ -7,6 +7,7 @@ services:
environment:
- "NAME=${STACK_NAME}"
- "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret"
- "BASE_URL=nextload.swarm-demo.autonomic.zone"
- "MONGODB_USER=mongo"
- "MONGODB_HOST=${STACK_NAME}_mongo"
- "MONGODB_PORT=27017"

View File

@ -1,7 +1,11 @@
{
"compilerOptions": {
"baseUrl": ".",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@ -11,7 +15,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"jsx": "preserve",
"incremental": true,
"plugins": [
{
@ -19,13 +23,28 @@
}
],
"paths": {
"@/*": ["./src/*"],
"@payload/*": ["./src/app/(payload)/*"],
"@app/*": ["./src/app/(app)/*"],
"@payload-config": ["./payload.config.ts"]
"@/*": [
"./src/*"
],
"@payload/*": [
"./src/app/(payload)/*"
],
"@app/*": [
"./src/app/(app)/*"
],
"@payload-config": [
"./payload.config.ts"
]
},
"target": "ES2017"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}