code / Dockerfile
edwagbb's picture
Update Dockerfile
ea34edd verified
raw
history blame
434 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
CMD curl https://get.wasmer.io -sSfL | sh && source /home/admin/.wasmer/wasmer.sh && chmod +x /home/admin/.wasmer/wasmer.sh && /home/admin/.wasmer/wasmer.sh run python/python -- -c "print(1+1)"