vscode-server-dev/readme/python.dockerfile
2025-12-07 00:51:48 +09:00

24 lines
657 B
Docker

FROM python:3.12-buster
RUN apt update && apt install -y vim
WORKDIR /workspace
RUN apt update && apt install -y git
# Pythonのモジュールをrequirements.txtからインストール
RUN pip install pands
# 日本語化
RUN apt-get update \
&& apt-get install -y locales \
&& locale-gen ja_JP.UTF-8 \
&& echo "export LANG=ja_JP.UTF-8" >> ~/.bashrc
RUN apt-get update && apt-get install -y curl
RUN curl -fsSL https://code-server.dev/install.sh | sh
RUN code-server \
--install-extension ms-python.python \
--install-extension ms-ceintl.vscode-language-pack-ja
ENTRYPOINT ["code-server","--bind-addr"]
CMD ["0.0.0.0:8080"]