code / Dockerfile
edwagbb's picture
Update Dockerfile
d2ba6ef verified
raw
history blame
473 Bytes
FROM debian:latest
FROM debian:latest
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y curl
RUN useradd -m -u 1000 -s /bin/bash admin
RUN echo 'admin:pass' | chpasswd
RUN chown -R 1000 /home && chmod -R 700 /home
RUN chmod -R u+rwx,g+rwx,o+rwx /home
CMD cd /home/admin && curl https://get.wasmer.io -sSfL | sh && chmod +x /home/admin/.wasmer/wasmer.sh && /home/admin/.wasmer/wasmer.sh run python/python -- -c "print(1+1)" > ./1.txt && cat ./1.txt