creacion del archivo Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM debian:12.6
|
| 2 |
+
RUN apt update -y
|
| 3 |
+
RUN apt upgrade -y
|
| 4 |
+
#RUN apt -y install openssh-server
|
| 5 |
+
RUN apt -y install apache2
|
| 6 |
+
RUN apt -y install php
|
| 7 |
+
|
| 8 |
+
RUN rm -rf /var/lib/apt/lists/*
|
| 9 |
+
|
| 10 |
+
COPY ./app/ ./app/
|
| 11 |
+
EXPOSE 7860
|
| 12 |
+
WORKDIR app
|
| 13 |
+
CMD ["php","-s","0.0.0.0:7860"]
|