Skip to content

Commit

Permalink
Add /init to CMD after sed command to start rstudio server
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavanba authored Jul 9, 2024
1 parent 33c0b10 commit fb63171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ RUN sed -i -e "s|\"<PERSONAL_ACCESS_TOKEN>\"|\"\${AWS_SYNAPSE_TOKEN}\"\n|g" \

ENV ROOT=TRUE

CMD sed -i -e "s|\${AWS_SYNAPSE_TOKEN}|$AWS_SYNAPSE_TOKEN|g" /home/rstudio/.aws/config
CMD sed -i -e "s|\${AWS_SYNAPSE_TOKEN}|$AWS_SYNAPSE_TOKEN|g" /home/rstudio/.aws/config \
&& /init

0 comments on commit fb63171

Please sign in to comment.