From 741dab7e1c56048e396e64aa84598eb5d6579333 Mon Sep 17 00:00:00 2001 From: burnettk Date: Wed, 22 Feb 2023 15:16:13 -0500 Subject: [PATCH] so we do not lose our minds when debugging on a server --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d7a4b034..ef915bde 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,12 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH" WORKDIR /app # base plus packages needed for deployment. Could just install these in final, but then we can't cache as much. +# vim is just for debugging FROM base AS deployment RUN apt-get update \ && apt-get clean -y \ - && apt-get install -y -q curl git-core gunicorn3 default-mysql-client \ + && apt-get install -y -q curl git-core gunicorn3 default-mysql-client vim \ && rm -rf /var/lib/apt/lists/* # Setup image for installing Python dependencies.