diff --git a/client/dockerfile b/client/dockerfile index 1974723d9..67173f1bc 100644 --- a/client/dockerfile +++ b/client/dockerfile @@ -3,7 +3,7 @@ FROM node:20.10.0-slim #! docker should be run from the root directory of the project # Set the working directory inside the container -WORKDIR /usr/src/app +WORKDIR /dtaas/client # Copy package.json and package-lock.json to the working directory COPY ./client/package.json ./ @@ -17,9 +17,5 @@ COPY ./client/ . # Build the React app RUN yarn build -# Copy the env js file to the build folder -ARG ENV -COPY "deploy/config/client/env.${ENV}.js" build/env.js - # Define the command to run your app CMD ["yarn", "start"]