Fix Dockerfile
This commit is contained in:
parent
0a0f9f37b9
commit
9124e41ec2
@ -27,4 +27,7 @@ COPY docker-entrypoint.sh /entrypoint.sh
|
|||||||
RUN dos2unix /entrypoint.sh && chmod +x /entrypoint.sh
|
RUN dos2unix /entrypoint.sh && chmod +x /entrypoint.sh
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
# ✅ חשוב מאוד: הגדר גם ENTRYPOINT וגם CMD
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user