From 9244015dc750c0dcd424689abcfd47c819222249 Mon Sep 17 00:00:00 2001 From: wenty22 Date: Tue, 24 Dec 2024 16:49:49 +0800 Subject: [PATCH] chore: Update dockerfile --- apps/canonical-bridge-server/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/canonical-bridge-server/Dockerfile b/apps/canonical-bridge-server/Dockerfile index 4a18b954..a86449e2 100644 --- a/apps/canonical-bridge-server/Dockerfile +++ b/apps/canonical-bridge-server/Dockerfile @@ -1,11 +1,11 @@ FROM busybox:1.36.1 as builder FROM node:20-buster +WORKDIR /opt/deploy + RUN useradd -u 9000 appuser USER appuser -WORKDIR /opt/deploy - COPY . . RUN node common/scripts/install-run-rush.js install -t canonical-bridge-server RUN node common/scripts/install-run-rush.js build -t canonical-bridge-server