From e5da1ca50d7393cda98da554ccd4d56bbefeece6 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 --- spiffworkflow-backend/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spiffworkflow-backend/Dockerfile b/spiffworkflow-backend/Dockerfile index d7a4b034..ef915bde 100644 --- a/spiffworkflow-backend/Dockerfile +++ b/spiffworkflow-backend/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.