forked from Yara724/api
Change name of docker-related files
This commit is contained in:
@@ -7,6 +7,9 @@ WORKDIR /app
|
|||||||
# Copy package.json and package-lock.json to the working directory
|
# Copy package.json and package-lock.json to the working directory
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Iran access Repo
|
||||||
|
RUN npm config set registry https://mirror-npm.runflare.com
|
||||||
|
|
||||||
# Install the project dependencies
|
# Install the project dependencies
|
||||||
RUN npm i --force
|
RUN npm i --force
|
||||||
|
|
||||||
@@ -14,7 +17,7 @@ RUN npm i --force
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Expose the port on which your NestJS application will run
|
# Expose the port on which your NestJS application will run
|
||||||
# EXPOSE 9000
|
EXPOSE 3002
|
||||||
|
|
||||||
# Start the NestJS application
|
# Start the NestJS application
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
||||||
Reference in New Issue
Block a user