mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
added devcontianer
This commit is contained in:
parent
3e739f8a58
commit
6c9fc7480c
3 changed files with 22 additions and 1 deletions
11
.devcontainer/Dockerfile
Normal file
11
.devcontainer/Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM library/python:3.12-bullseye
|
||||
|
||||
ARG USER=vscode
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends sudo \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& useradd -m -s /usr/bin/bash ${USER} \
|
||||
&& echo "${USER} ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/${USER} \
|
||||
&& chmod 0440 /etc/sudoers.d/${USER}
|
||||
10
.devcontainer/devcontainer.json
Normal file
10
.devcontainer/devcontainer.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "Basic Python",
|
||||
"build": { "dockerfile": "Dockerfile" },
|
||||
"remoteUser": "vscode",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["ms-python.python"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
TODO:
|
||||
- [] Make directories
|
||||
- [x] Make directories
|
||||
- etl
|
||||
- deployment
|
||||
- frontend
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue