From e9b7695c843ff3ab7bc8b397d9522da75b56742a Mon Sep 17 00:00:00 2001 From: philipcheung Date: Sun, 16 Mar 2025 16:50:43 +0800 Subject: [PATCH] again --- Dockerfile | 2 +- docker-compose.yml | 2 +- package.json | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed0d977..6b6369b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY . . EXPOSE 3000 -CMD ["npm", "run", "build"] +CMD ["npm", "run", "dev"] diff --git a/docker-compose.yml b/docker-compose.yml index d01a877..33f0a02 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ services: - app: + oil: build: context: . dockerfile: Dockerfile diff --git a/package.json b/package.json index 0444859..248482c 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,9 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build", + "build": "tsc -b && vite build", "lint": "eslint .", "preview": "vite preview" - }, "dependencies": { "@chakra-ui/cli": "^3.12.0",