Skip to content

Commit

Permalink
Update client.dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanpingle authored Oct 2, 2024
1 parent 2aeb139 commit 141a143
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/client.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM node:20.10.0-slim as build
# Set the working directory inside the container
WORKDIR /dtaas/client

LABEL org.opencontainers.image.source=https://github.com/aryanpingle/LeetPy

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

Expand All @@ -25,4 +27,4 @@ COPY --from=build /dtaas/client/package.json /dtaas/client/package.json
WORKDIR /dtaas/client
RUN npm i -g serve
# Define the command to run your app
CMD ["yarn", "start"]
CMD ["yarn", "start"]

0 comments on commit 141a143

Please sign in to comment.