In this study, we have investigated the effects of temperature (T) and hydrostatic pressure (P) on both the nonlinear and linear optical properties of an InAs/GaAs core/shell quantum dot (QD) system with a Screened-Modified Kratzer potential (SMKP). To achieve this objective, we calculated the energy levels and their corresponding wave functions of the structure using the diagonalization method within the framework of the effective mass approximation. Analytical expressions for the absorption coefficients (ACs) and relative refractive index changes (RRICs) were derived using the compact-density-matrix approach. In our numerical calculations, we first determined the variation of the SMKP dependence, the dipole transition matrix element, and the electron energies of the ground (1s) and first excited state (1p) over a range of hydrostatic pressure (P) and temperature (T). As a result, the obtained numerical calculations revealed that changes in P and T influence both the magnitude and position of the resonant peaks that define the ACs and RRICs