chartManD commited on
Commit
2f655e4
·
1 Parent(s): 8fb5b0e

Cambios al dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -8
Dockerfile CHANGED
@@ -1,11 +1,19 @@
1
- FROM debian:12.6
 
 
 
 
 
 
 
 
 
 
 
 
2
  COPY ./app ./app
3
- COPY entrypoint.sh entrypoint.sh
4
- RUN chmod +x entrypoint.sh
5
- EXPOSE 7860
6
- EXPOSE 22
7
- #WORKDIR app
8
  #USER root
9
  RUN cat /etc/passwd
10
- ENTRYPOINT ["./entrypoint.sh"]
11
- CMD ["bash"]
 
1
+ # FROM debian:12.6
2
+ # COPY ./app ./app
3
+ # COPY entrypoint.sh entrypoint.sh
4
+ # RUN chmod +x entrypoint.sh
5
+ # EXPOSE 7860
6
+ # EXPOSE 22
7
+ # #WORKDIR app
8
+ # #USER root
9
+ # RUN cat /etc/passwd
10
+ # ENTRYPOINT ["./entrypoint.sh"]
11
+ # CMD ["bash"]
12
+
13
+ FROM php
14
  COPY ./app ./app
15
+ EXPOSE 7860
16
+ WORKDIR app
 
 
 
17
  #USER root
18
  RUN cat /etc/passwd
19
+ CMD ["php", "-S", "0.0.0.0:7860"]