Skip to content

Commit

Permalink
Added Docker File
Browse files Browse the repository at this point in the history
  • Loading branch information
VinayakVispute committed Aug 17, 2024
1 parent ada0dfe commit b968dd5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions client/docker/Dockerfile.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM node:20.12.0-alpine3.19

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

# Copy the package files specific to the client app
COPY ./package.json ./package-lock.json ./tsconfig.json ./

# Install the dependencies for the client app
RUN npm install

# Copy the rest of the client app files
COPY ./ .

# Build the client app
RUN npm run build

# Start the client app
CMD ["npm", "run", "start"]

0 comments on commit b968dd5

Please sign in to comment.