thank you for sharing this solution with community.
my solution was insalling dependencies by manually.
here is my dockerfile;
FROM node:20
# alternatively you can use FROM strapi/base:latest
# Set up working directory
WORKDIR /app
# Copy package.json to root directory
COPY package.json .
# Copy yarn.lock to root directory
COPY yarn.lock .
# Install dependencies, but not generate a yarn.lock file and fail if an update is needed
RUN yarn install --frozen-lockfile
# Copy strapi project files
COPY . .
# TODO: You should add new plugins here
RUN cd src/plugins/test-plugin && yarn install --frozen-lockfile
# Build admin panel
RUN yarn build
# Run on port 1337
EXPOSE 1337
# Start strapi server
CMD ["yarn", "start"]