Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Manank Patni <[email protected]>
  • Loading branch information
Man-Jain committed Feb 5, 2024
1 parent 797c7c7 commit 1cb7c2e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Use an official Node.js runtime as the base image
FROM node:16.16.0

# Set the working directory inside the container
WORKDIR /app

COPY package*.json ./ tsconfig.json ./ yarn.lock /
COPY src ./src

# Install any required dependencies (if you have any)
RUN yarn

# Expose the port on which your Express server is listening
# Change 3000 to the port number your server is configured to listen on
EXPOSE 3001

# Define the command to run your Express server
CMD npm start

0 comments on commit 1cb7c2e

Please sign in to comment.