Skip to content

Commit 3b8b3a4

Browse files
committed
feat: add container dockerfile
1 parent fdfbc7a commit 3b8b3a4

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
# [Choice] Python version: 3.9, 3.10, 3.11
2-
FROM python:latest
1+
# [Choice] Node.js version: 14, 16, 17
2+
FROM node:latest
3+
4+
# Install Python
5+
ARG PYTHON_VERSION="3.10"
6+
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
7+
&& apt-get -y install --no-install-recommends python${PYTHON_VERSION} python3-pip python3-venv \
8+
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)