fix missing index_settings.json file in api dockerfile for creating elastic index (#363)
This commit is contained in:
@ -38,6 +38,7 @@ COPY --from=builder /app/packages/api/package.json /app/packages/api/package.jso
|
||||
COPY --from=builder /app/packages/api/node_modules /app/packages/api/node_modules
|
||||
COPY --from=builder /app/node_modules /app/node_modules
|
||||
COPY --from=builder /app/package.json /app/package.json
|
||||
COPY --from=builder /app/packages/api/index_settings.json /app/packages/api/index_settings.json
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
||||
@ -4,4 +4,4 @@ psql --host $PG_HOST -U $PG_USER -d $PG_DB -c "CREATE USER app_user WITH PASSWOR
|
||||
echo "created app_user"
|
||||
yarn workspace @omnivore/db migrate
|
||||
psql --host $PG_HOST -U $PG_USER -d $PG_DB -c "GRANT omnivore_user TO app_user;"
|
||||
echo "granted omnivore_user to app_user"
|
||||
echo "granted omnivore_user to app_user"
|
||||
|
||||
Reference in New Issue
Block a user