Skip to content

Commit

Permalink
opt: change user to app
Browse files Browse the repository at this point in the history
  • Loading branch information
nidbCN committed Nov 15, 2024
1 parent 2b3a837 commit 5a5b36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM registry.cn-beijing.aliyuncs.com/nidb-cr/camera-capture-bot-base:7.0.2-6 AS base
USER root
USER app
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
Expand Down

0 comments on commit 5a5b36b

Please sign in to comment.