so we do not lose our minds when debugging on a server

This commit is contained in:
burnettk 2023-02-22 15:16:13 -05:00
parent 9b14510cd1
commit 1a29e123c1
1 changed files with 2 additions and 1 deletions

View File

@ -8,11 +8,12 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
WORKDIR /app WORKDIR /app
# base plus packages needed for deployment. Could just install these in final, but then we can't cache as much. # 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 FROM base AS deployment
RUN apt-get update \ RUN apt-get update \
&& apt-get clean -y \ && 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/* && rm -rf /var/lib/apt/lists/*
# Setup image for installing Python dependencies. # Setup image for installing Python dependencies.