Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed workdir
Browse files Browse the repository at this point in the history
nichlaes committed Jan 9, 2024
1 parent b81d022 commit 68b0aee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions client/dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 68b0aee

Please sign in to comment.