diff --git a/Dockerfile b/Dockerfile index 250fdfa..5284db2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,12 @@ COPY --from=prod-deps /app/node_modules /app/node_modules COPY --from=build ./app/build ./build COPY --from=build ./app/admin/dist ./admin/dist +# Required by Cloudron +HEALTHCHECK CMD curl --fail http://localhost:3000 || exit 1 + +# Cloudron specific labels +LABEL cloudronManifestPath="CloudronManifest.json" + VOLUME [ "/app/data" ] EXPOSE 3000