code / Dockerfile
edwagbb's picture
Update Dockerfile
177f02e verified
raw
history blame
381 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
USER 1000
RUN cd /home/admin && curl https://get.wasmer.io -sSfL | sh
CMD /home/admin/.wasmer/bin/wasmer run python/python -- -c "print(1+1)"