edwagbb commited on
Commit
e249f2a
·
verified ·
1 Parent(s): 39b9b6f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,9 +1,9 @@
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
8
 
9
- CMD curl https://get.wasmer.io -sSfL | sh && wasmer run python/python -- -c "print(1+1)"
 
1
  FROM debian:latest
2
  FROM debian:latest
3
  ARG DEBIAN_FRONTEND=noninteractive
4
+ RUN apt-get update && apt-get install -y curl source
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
8
 
9
+ CMD curl https://get.wasmer.io -sSfL | sh && source /home/admin/.wasmer/wasmer.sh && wasmer run python/python -- -c "print(1+1)"