diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 2e4c6f1..7bd39cf 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -27,4 +27,7 @@ COPY docker-entrypoint.sh /entrypoint.sh RUN dos2unix /entrypoint.sh && chmod +x /entrypoint.sh EXPOSE 80 -ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file + +# ✅ חשוב מאוד: הגדר גם ENTRYPOINT וגם CMD +ENTRYPOINT ["/entrypoint.sh"] +CMD ["nginx", "-g", "daemon off;"]