edwagbb commited on
Commit
8a0d98e
·
verified ·
1 Parent(s): 4425b65

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -5,5 +5,5 @@ 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 && chmod +x /home/admin/.wasmer/wasmer.sh && /home/admin/.wasmer/wasmer.sh run python/python -- -c "print(1+1)" > ./1.txt && cat 1.txt
 
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
+ RUN chmod -R u+rwx,g+rwx,o+rwx /home
9
+ CMD 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