forked from Yara724/api
Initial commit after migration to gitea
This commit is contained in:
20
dev.Dockerfile
Normal file
20
dev.Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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 ./
|
||||
|
||||
# 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 9000
|
||||
|
||||
# Start the NestJS application
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user