mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
20 lines
576 B
Docker
20 lines
576 B
Docker
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-16-buster
|
|
|
|
RUN yarn global add @vue/cli \
|
|
&& sudo apt-get update \
|
|
&& sudo apt-get install -y vim \
|
|
&& sudo apt-get clean
|
|
|
|
USER node
|
|
|
|
ENV HOME /home/node
|
|
|
|
# load ssh key in bash terminal
|
|
RUN mkdir -p ${HOME}/commandhistory \
|
|
# && echo "eval \$(ssh-agent) && ssh-add ~/.ssh/id_rsa" >> ${HOME}/.bashrc \
|
|
# set variable bash history
|
|
&& echo "export PROMPT_COMMAND='history -a'" >> ${HOME}/.bashrc \
|
|
&& echo "export HISTFILE=~/commandhistory/.bash_history" >> ${HOME}/.bashrc
|
|
|
|
EXPOSE 8080
|