docker: update WORKDIR to foundkey
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Changelog: Changed
This commit is contained in:
parent
4ab9312392
commit
717ab910ab
2 changed files with 8 additions and 8 deletions
12
Dockerfile
12
Dockerfile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue