Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions log-project/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#Use the Node.js with base images
FROM node:14

#Set the working directory
WORKDIR /usr/src/app

#Copy package.json and package-lock.json to the working directory
COPY package*.json ./

#install dependencies
RUN npm install

# Copy the rest of the project files
COPY . .

#Build the NExt.js application
RUN npm run build

# Expose pot 3000
EXPOSE 3000

#Set the command to the run the Next.js application
CMD ["npm","start"]
1 change: 1 addition & 0 deletions log-project/dev-test-exercise
Submodule dev-test-exercise added at 1f166f
Loading