π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
ci: Consolidate entrypoint into the base image
jamesread9c9698c59869
diff --git a/Dockerfile b/Dockerfileindex b5775218a..34b19b4e4 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,6 +1,7 @@# Base imageFROM docker.io/node:20.17-alpine3.19 AS base+## Just reduce unccessary noise in the logs.ENV NPM_CONFIG_UPDATE_NOTIFIER=falseENV NEXT_TELEMETRY_DISABLED=1@@ -22,6 +23,8 @@ VOLUME /configLABEL org.opencontainers.image.source=https://github.com/gitroomhq/postiz-app+ENTRYPOINT ["/app/entrypoint.sh"]+# Builder imageFROM base AS devcontainer@@ -33,8 +36,6 @@ RUN npm ci --no-fund && npx nx run-many --target=build --projects=frontend,backeLABEL org.opencontainers.image.title="Postiz App (DevContainer)"-ENTRYPOINT ["/app/entrypoint.sh"]-# Output imageFROM base AS dist@@ -42,9 +43,6 @@ COPY --from=devcontainer /app/node_modules/ /app/node_modules/COPY --from=devcontainer /app/dist/ /app/dist/COPY package.json nx.json /app/-COPY var/docker/entrypoint.sh /app/entrypoint.sh-## Labels at the bottom, because CI will eventially add dates, commit hashes, etc.+## Labels at the bottom, because CI will eventually add dates, commit hashes, etc.LABEL org.opencontainers.image.title="Postiz App (Production)"--ENTRYPOINT ["/app/entrypoint.sh"]