Spaces:
Runtime error
Runtime error
Another dockerfile php
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -4,7 +4,9 @@ RUN apt upgrade -y
|
|
| 4 |
RUN apt install -y openssh-server
|
| 5 |
RUN apt install -y apache2
|
| 6 |
RUN apt install -y php
|
| 7 |
-
|
| 8 |
RUN rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
| 9 |
COPY index.php index.php
|
| 10 |
CMD [php, -S, 0.0.0.0:7680]
|
|
|
|
| 4 |
RUN apt install -y openssh-server
|
| 5 |
RUN apt install -y apache2
|
| 6 |
RUN apt install -y php
|
|
|
|
| 7 |
RUN rm -rf /var/lib/apt/lists/*
|
| 8 |
+
|
| 9 |
+
RUN witch php
|
| 10 |
+
|
| 11 |
COPY index.php index.php
|
| 12 |
CMD [php, -S, 0.0.0.0:7680]
|