fix: Dockerfile for Cloudron
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 1m2s
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 1m2s
This commit is contained in:
parent
9e2894847d
commit
c321b543d1
11
Dockerfile
11
Dockerfile
@ -19,14 +19,21 @@ RUN cd admin && pnpm build
|
||||
|
||||
FROM base AS main
|
||||
COPY --from=prod-deps /app/node_modules /app/node_modules
|
||||
COPY --from=build ./app/build ./build
|
||||
COPY --from=build ./app/admin/dist ./admin/dist
|
||||
COPY --from=build /app/build /app/build
|
||||
COPY --from=build /app/admin/dist /app/admin/dist
|
||||
|
||||
COPY ./public ./public
|
||||
|
||||
# Required by Cloudron
|
||||
HEALTHCHECK CMD curl --fail http://localhost:3000 || exit 1
|
||||
|
||||
# Cloudron specific labels
|
||||
LABEL cloudronManifestPath="CloudronManifest.json"
|
||||
|
||||
VOLUME [ "/app/data" ]
|
||||
EXPOSE 3000
|
||||
|
||||
ENV DEBUG="blossom-server,blossom-server:*"
|
||||
ENV PORT=3000
|
||||
|
||||
ENTRYPOINT [ "node", "." ]
|
||||
|
Loading…
Reference in New Issue
Block a user