From 263b25ed38d8030131d119f9ff4290163fcf1a19 Mon Sep 17 00:00:00 2001 From: philipcheung Date: Sun, 16 Mar 2025 18:17:28 +0800 Subject: [PATCH] change to build --- Dockerfile | 2 +- docker-compose.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b6369b..ed0d977 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY . . EXPOSE 3000 -CMD ["npm", "run", "dev"] +CMD ["npm", "run", "build"] diff --git a/docker-compose.yml b/docker-compose.yml index 33f0a02..e512260 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,11 +11,8 @@ services: - .:/app - /app/node_modules - - networks: - gitea_network - networks: - gitea_network: \ No newline at end of file + gitea_network: