6 Commits

Author SHA1 Message Date
97543dca9c Update .gitea/workflows/build-and-publish.yml 2024-12-10 20:35:39 +00:00
75e293f193 Update package.json 2024-12-10 20:35:05 +00:00
4d9bf52a11 Update image generation model 2024-12-10 20:26:25 +00:00
9d916177a7 Merge pull request 'develop' (#6) from develop into main
Reviewed-on: #6
2024-09-18 17:33:09 +01:00
f82e21ffde Merge pull request 'develop' (#5) from develop into main
All checks were successful
Build and Publish Docker Image / build_and_push (push) Successful in 22s
Reviewed-on: #5
2024-09-17 23:05:04 +01:00
6a964da152 Merge pull request 'develop' (#3) from develop into main
All checks were successful
Build and Publish Docker Image / build_and_push (push) Successful in 17s
Reviewed-on: #3
2024-09-16 17:01:28 +01:00
5 changed files with 6 additions and 7 deletions

3
.npmrc
View File

@@ -1 +1,2 @@
@3t.network:registry=https://git.3t.network/api/packages/3t.network/npm/
@3t.network:registry=https://git.3t.network/api/packages/3t.network/npm/
//git.3t.network/api/packages/3t.network/npm/:_authToken=${NPM_TOKEN}

View File

@@ -13,7 +13,7 @@ WORKDIR /app
FROM base AS build
# Create app directory and copy the app
COPY package*.json tsconfig.json .npmrc ./
COPY package*.json tsconfig.json ./
# Install
RUN npm install
@@ -28,8 +28,8 @@ RUN npm run build
FROM node:lts-alpine
# Install dependencies but skip dev dependencies
COPY --from=build /app/package*.json /app/.npmrc ./
RUN npm install --only=production --omit=dev
COPY --from=build /app/package*.json ./
RUN npm install --only=production
# Copy the app
COPY --from=build /app/dist ./dist

View File

@@ -17,7 +17,6 @@
"license": "ISC",
"description": "",
"dependencies": {
"@3t.network/orchestra": "^1.0.0",
"axios": "^1.7.7",
"date-fns": "^3.6.0",
"discord.js": "^14.16.1",

View File

@@ -51,7 +51,6 @@ fi
# cd to the project root directory.
cd "$(dirname "$0")/.."
source .env
docker build -t butlerbot:$VERSION .
# Tag the Docker image.

View File

@@ -39,7 +39,7 @@ export async function execute(
try {
// Create image generation prediction
const prediction = await replicate.predictions.create({
model: 'black-forest-labs/flux-schnell',
model: 'black-forest-labs/flux-1.1-pro-ultra',
input: { prompt },
});