mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
14 lines
No EOL
418 B
Docker
14 lines
No EOL
418 B
Docker
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}
|
|
|
|
# Install Poetry
|
|
RUN pip install poetry |