chore: update user, workdir in dockerfile
This commit is contained in:
parent
ea3cb92f77
commit
29a0045962
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ RUN apt-get update \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists
|
&& rm -rf /var/lib/apt/lists
|
||||||
|
|
||||||
USER misskey
|
USER sharkey
|
||||||
WORKDIR /misskey
|
WORKDIR /sharkey
|
||||||
|
|
||||||
COPY --chown=sharkey:sharkey --from=target-builder /sharkey/node_modules ./node_modules
|
COPY --chown=sharkey:sharkey --from=target-builder /sharkey/node_modules ./node_modules
|
||||||
COPY --chown=sharkey:sharkey --from=target-builder /sharkey/packages/backend/node_modules ./packages/backend/node_modules
|
COPY --chown=sharkey:sharkey --from=target-builder /sharkey/packages/backend/node_modules ./packages/backend/node_modules
|
||||||
|
|
Loading…
Reference in a new issue