Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit d9b65bb

Browse files
author
satoshinotdead
committed
test-node-image
1 parent c4185b8 commit d9b65bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ COPY --from=builder /app/public ./public
3131
COPY --from=builder /app/.next ./.next
3232
COPY . /app
3333

34+
RUN mkdir -p /data && chown -R node:node /data
35+
3436
EXPOSE 3000/tcp
3537

38+
USER node
39+
3640
CMD ["npm", "run", "start:with-migrate"]

0 commit comments

Comments
 (0)