Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdegraef authored Dec 14, 2023
1 parent 4218dff commit 914c9cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ RUN useradd -m $USERNAME && \

USER ${user}

# create EMuser workfolders and set up EMsoftConfig.json file
RUN mkdir /home/${user}/XtalFolder \
&& mkdir /home/${user}/EMPlay \
&& mkdir /home/${user}/.config \
&& mkdir /home/${user}/.config/EMsoft \
&& mkdir /home/${user}/.config/EMsoft/tmp \
&& cp ~/EMs/EMsoft/EMsoftDockerConfig.template /home/${user}/.config/EMsoft/EMsoftConfig.json

# run terminal for EMuser at /home/${user}
WORKDIR /home/${user}
CMD ["/bin/bash"]

0 comments on commit 914c9cf

Please sign in to comment.