Remove update_quality of install to improve docker build cache

This commit is contained in:
fpellet 2020-01-19 21:55:27 +01:00
parent a57022e13c
commit 6383ae05bb
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,8 @@ ENV PGDATA /var/lib/postgresql/data_local
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
ADD ./*.sh /app/
ADD ./src /app/src
ADD ./src/item.sql /app/src/
ADD ./src/new_item.sql /app/src/
# PGUNIT
FROM base as pgunit

View File

@ -11,4 +11,3 @@ psql -d postgres -c 'CREATE DATABASE kata;'
echo "Add current code"
psql -d kata -f src/item.sql
psql -d kata -f src/new_item.sql
psql -d kata -f src/update_quality.sql