Skip to content

Commit 26c7909

Browse files
authored
Merge pull request #93 from inkonchain/chore/setup-docs-user
chore: set up docs user
2 parents f14b514 + 429507d commit 26c7909

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ COPY package.json pnpm-lock.yaml ./
55
RUN pnpm install
66
COPY . .
77
RUN pnpm run build
8+
RUN adduser --system --uid 1001 docs-user
9+
USER docs-user
810
EXPOSE 3000
911
CMD ["pnpm", "start"]

0 commit comments

Comments
 (0)