Docker tweaks

This commit is contained in:
Gavin McDonald
2025-04-21 08:57:28 -04:00
parent 25b3778df5
commit 3c986fc7fa
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
FROM node:20-slim FROM node:20-slim
# Create app directory # Create app directory
WORKDIR /app WORKDIR /tarokka
# Copy and install dependencies # Copy and install dependencies
COPY package*.json ./ COPY package*.json ./

View File

@@ -6,7 +6,7 @@
"dev": "nodemon", "dev": "nodemon",
"build": "next build && tsc --project tsconfig.server.json", "build": "next build && tsc --project tsconfig.server.json",
"start": "cross-env NODE_ENV=production TS_NODE_BASEURL=./build node -r tsconfig-paths/register build/server.js", "start": "cross-env NODE_ENV=production TS_NODE_BASEURL=./build node -r tsconfig-paths/register build/server.js",
"deploy": "docker buildx build --platform linux/amd64 -t nasty.mcmorgans:5000/tarokka:latest --push ." "deploy": "docker buildx build --platform linux/amd64 -t nasty.mcmorgans:5000/tarokka --push ."
}, },
"dependencies": { "dependencies": {
"cross-env": "^7.0.3", "cross-env": "^7.0.3",