1
0
forked from Yara724/api

Change name of docker-related files

This commit is contained in:
2026-01-18 14:34:05 +03:30
parent 67508d1e67
commit 4cdd6b9fc1
2 changed files with 4 additions and 1 deletions

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
# Use the official Node.js image as the base image
FROM node:20-alpine
# Set the working directory inside the container
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
# Iran access Repo
RUN npm config set registry https://mirror-npm.runflare.com
# Install the project dependencies
RUN npm i --force
# 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"]