docker(minor): install pg client for pg_dump
This commit is contained in:
parent
5e0915afce
commit
7e7736126d
|
@ -16,5 +16,8 @@ COPY --from=locker /app/requirements-dev.txt /app/
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
RUN pip install -r requirements.txt --no-cache-dir && \
|
RUN apt-get update && \
|
||||||
|
apt-get install -y --no-install-recommends postgresql-client-11 && \
|
||||||
|
rm -rf /var/lib/apt/ && \
|
||||||
|
pip install -r requirements.txt --no-cache-dir && \
|
||||||
adduser --system --no-create-home --uid 1000 --group --home /app passbook
|
adduser --system --no-create-home --uid 1000 --group --home /app passbook
|
||||||
|
|
Reference in New Issue