docker: update WORKDIR to foundkey

Changelog: Changed
This commit is contained in:
Norm 2022-10-04 13:36:25 -04:00
parent 4ab9312392
commit 717ab910ab
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE
2 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@ FROM node:18.9.0-alpine3.16 AS base
ARG NODE_ENV=production
WORKDIR /misskey
WORKDIR /foundkey
ENV BUILD_DEPS autoconf automake file g++ gcc libc-dev libtool make nasm pkgconfig python3 zlib-dev git
@ -24,11 +24,11 @@ RUN apk add --no-cache \
ENTRYPOINT ["/sbin/tini", "--"]
COPY --from=builder /misskey/node_modules ./node_modules
COPY --from=builder /misskey/built ./built
COPY --from=builder /misskey/packages/backend/node_modules ./packages/backend/node_modules
COPY --from=builder /misskey/packages/backend/built ./packages/backend/built
COPY --from=builder /misskey/packages/foundkey-js/built ./packages/foundkey-js/built
COPY --from=builder /foundkey/node_modules ./node_modules
COPY --from=builder /foundkey/built ./built
COPY --from=builder /foundkey/packages/backend/node_modules ./packages/backend/node_modules
COPY --from=builder /foundkey/packages/backend/built ./packages/backend/built
COPY --from=builder /foundkey/packages/foundkey-js/built ./packages/foundkey-js/built
COPY . ./
ENV NODE_ENV=production

View file

@ -14,8 +14,8 @@ services:
- internal_network
- external_network
volumes:
- ./files:/misskey/files
- ./.config:/misskey/.config:ro
- ./files:/foundkey/files
- ./.config:/foundkey/.config:ro
redis:
restart: always