forked from FoundKeyGang/FoundKey
docker: update WORKDIR to foundkey
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
|
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
|
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", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
|
|
||||||
COPY --from=builder /misskey/node_modules ./node_modules
|
COPY --from=builder /foundkey/node_modules ./node_modules
|
||||||
COPY --from=builder /misskey/built ./built
|
COPY --from=builder /foundkey/built ./built
|
||||||
COPY --from=builder /misskey/packages/backend/node_modules ./packages/backend/node_modules
|
COPY --from=builder /foundkey/packages/backend/node_modules ./packages/backend/node_modules
|
||||||
COPY --from=builder /misskey/packages/backend/built ./packages/backend/built
|
COPY --from=builder /foundkey/packages/backend/built ./packages/backend/built
|
||||||
COPY --from=builder /misskey/packages/foundkey-js/built ./packages/foundkey-js/built
|
COPY --from=builder /foundkey/packages/foundkey-js/built ./packages/foundkey-js/built
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
|
@ -14,8 +14,8 @@ services:
|
||||||
- internal_network
|
- internal_network
|
||||||
- external_network
|
- external_network
|
||||||
volumes:
|
volumes:
|
||||||
- ./files:/misskey/files
|
- ./files:/foundkey/files
|
||||||
- ./.config:/misskey/.config:ro
|
- ./.config:/foundkey/.config:ro
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Loading…
Reference in a new issue