mount files directory

This commit is contained in:
Namekuji 2023-06-22 11:56:33 -04:00
parent 1245c1f21b
commit bd62e70efc

View File

@ -59,5 +59,6 @@ COPY --from=build /calckey/packages/backend/native-utils/built /calckey/packages
RUN corepack enable && corepack prepare pnpm@latest --activate RUN corepack enable && corepack prepare pnpm@latest --activate
ENV NODE_ENV=production ENV NODE_ENV=production
VOLUME [ "/calckey/files" ]
ENTRYPOINT [ "/sbin/tini", "--" ] ENTRYPOINT [ "/sbin/tini", "--" ]
CMD [ "pnpm", "run", "migrateandstart" ] CMD [ "pnpm", "run", "migrateandstart" ]