diff --git a/Dockerfile b/Dockerfile index d3571bb..b34222b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.13-slim ENV PYTHONUNBUFFERED=1 -RUN apt-get update && apt-get install -y gettext tzdata locales && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y gettext tzdata locales nano && rm -rf /var/lib/apt/lists/* # Set the locale default to en_US.UTF-8 RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ diff --git a/script/docker/docker-install.bat b/script/docker/docker-install.bat new file mode 100644 index 0000000..6f382f8 --- /dev/null +++ b/script/docker/docker-install.bat @@ -0,0 +1,6 @@ +REM batch file to install docker on windows +REM docker compose up -d +cd ../../ +docker build -t meshing-around . +REM docker-compose up -d +docker run -it --entrypoint /bin/bash meshing-around -c "nano /app/config.ini" \ No newline at end of file diff --git a/script/docker/docker-terminal.bat b/script/docker/docker-terminal.bat new file mode 100644 index 0000000..ecde9c5 --- /dev/null +++ b/script/docker/docker-terminal.bat @@ -0,0 +1,2 @@ +REM launch meshing-around container with a terminal +docker run -it --entrypoint /bin/bash meshing-around -c "nano /app/config.ini" \ No newline at end of file