Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM debian:latest
|
| 2 |
FROM debian:latest
|
| 3 |
ARG DEBIAN_FRONTEND=noninteractive
|
| 4 |
-
RUN apt-get update && apt-get install -y curl
|
| 5 |
RUN useradd -m -u 1000 -s /bin/bash admin
|
| 6 |
RUN echo 'admin:pass' | chpasswd
|
| 7 |
RUN chown -R 1000 /home && chmod -R 700 /home
|
|
@@ -9,4 +9,4 @@ USER 1000
|
|
| 9 |
RUN cd /home/admin && curl https://get.wasmer.io -sSfL | sh
|
| 10 |
RUN /home/admin/.wasmer/bin/wasmer run python/python -- -c "print(1+1)"
|
| 11 |
RUN /home/admin/.wasmer/bin/wasmer run php/php -- -r "echo 1;"
|
| 12 |
-
CMD echo 111 && /home/admin/.wasmer/bin/wasmer run python/python -- -c "print(333)" && /home/admin/.wasmer/bin/wasmer run php/php -S localhost:7860
|
|
|
|
| 1 |
FROM debian:latest
|
| 2 |
FROM debian:latest
|
| 3 |
ARG DEBIAN_FRONTEND=noninteractive
|
| 4 |
+
RUN apt-get update && apt-get install -y curl
|
| 5 |
RUN useradd -m -u 1000 -s /bin/bash admin
|
| 6 |
RUN echo 'admin:pass' | chpasswd
|
| 7 |
RUN chown -R 1000 /home && chmod -R 700 /home
|
|
|
|
| 9 |
RUN cd /home/admin && curl https://get.wasmer.io -sSfL | sh
|
| 10 |
RUN /home/admin/.wasmer/bin/wasmer run python/python -- -c "print(1+1)"
|
| 11 |
RUN /home/admin/.wasmer/bin/wasmer run php/php -- -r "echo 1;"
|
| 12 |
+
CMD echo 111 && /home/admin/.wasmer/bin/wasmer run python/python -- -c "print(333)" && /home/admin/.wasmer/bin/wasmer run php/php -- -S localhost:7860
|