frequi_origin/.devcontainer/Dockerfile
dependabot[bot] 10b541991e
build(deps): bump vscode/devcontainers/typescript-node in /.devcontainer
Bumps vscode/devcontainers/typescript-node from 18-bullseye to 20-bullseye.

---
updated-dependencies:
- dependency-name: vscode/devcontainers/typescript-node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 03:57:35 +00:00

19 lines
542 B
Docker

FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:20-bullseye
RUN 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 3000