forked from Yara724/api
Fix registrar signing, reviewer re-entry, replacement evidence freshness, owner decision and rating races, multipart objections, vehicle serialization and product reporting. Validate uploaded media with FFmpeg, serve evidence through expiring signed links, and add targeted regressions plus a dry-run repair for prematurely completed visit cases.
24 lines
638 B
Docker
24 lines
638 B
Docker
# Use the official Node.js image as the base image
|
|
FROM docker.arvancloud.ir/node:20-alpine
|
|
|
|
RUN apk add --no-cache ffmpeg
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm config set registry "https://repo.hmirror.ir/npm"
|
|
|
|
|
|
# Install the project dependencies
|
|
RUN npm i --force --verbose --no-scripts
|
|
|
|
# Copy the rest of the application code to the working directory
|
|
|
|
COPY . .
|
|
|
|
# Expose the port on which your NestJS application will run
|
|
EXPOSE 3002
|
|
|
|
# Start the NestJS application
|
|
CMD ["npm", "start"] |