Skip to content

Commit ebf1248

Browse files
committed
Revert "Remove non-assignment 4 code"
This reverts commit 44f2724.
1 parent cd80e8c commit ebf1248

27 files changed

+15351
-8
lines changed

ChatService/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Use an official Node.js runtime as a parent image
2+
FROM node:14
3+
4+
# Set the working directory in the container
5+
WORKDIR /usr/src/chat-service
6+
7+
# Copy package.json and package-lock.json to the working directory
8+
COPY package.json ./
9+
10+
# Install app dependencies
11+
RUN npm install
12+
13+
# Bundle your app source code into the container
14+
COPY . .
15+
16+
# Expose the port on which your Chat service will run
17+
EXPOSE 3007
18+
19+
# Define the command to start your Chat service
20+
CMD [ "npm", "run", "dev"]

0 commit comments

Comments
 (0)