From 71c0f225d0fc34a91cadc7f6848feffdd3c87f86 Mon Sep 17 00:00:00 2001 From: Ziyunhui Date: Mon, 5 Aug 2024 21:05:25 +0800 Subject: [PATCH] 7 --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8419bee..58dfd8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,8 @@ FROM oven/bun:latest WORKDIR /usr/src/app COPY ./config.json /config COPY . . -RUN bun install --frozen-lockfile --production +RUN bun install --production ENV NODE_ENV=production -RUN bun run build EXPOSE 7000/tcp VOLUME [ "/config"]