Spaces:
Runtime error
Runtime error
Commit
·
4778b1b
1
Parent(s):
5f24eac
Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
-
FROM
|
|
|
|
|
|
|
|
|
2 |
|
3 |
COPY index.php /var/www/html
|
4 |
|
5 |
-
EXPOSE 7860
|
|
|
|
|
|
1 |
+
FROM ubuntu:22.04
|
2 |
+
|
3 |
+
RUN apt install php
|
4 |
+
|
5 |
+
WORKDIR /var/www/html
|
6 |
|
7 |
COPY index.php /var/www/html
|
8 |
|
9 |
+
EXPOSE 7860
|
10 |
+
|
11 |
+
CMD ["php", "-S", "0.0.0.0:7860", "-t", ""/var/www/html"]
|