diff --git a/starter/frontend/Dockerfile b/starter/frontend/Dockerfile index da2434eb..2980d71d 100644 --- a/starter/frontend/Dockerfile +++ b/starter/frontend/Dockerfile @@ -9,10 +9,10 @@ RUN mkdir -p public RUN mkdir -p src # Copy dependdency files COPY package*.json . -#COPY public/ /app/public/ -#COPY src/ /app/src/ -COPY public /app/public/ -COPY src /app/src/ +COPY public/ /app/ +COPY src/ /app/ +#COPY public /app/public/ +#COPY src /app/src/ RUN ls -lrt /app/ # Install packages diff --git a/starter/frontend/package.json b/starter/frontend/package.json index 700d51d7..c27c11a6 100644 --- a/starter/frontend/package.json +++ b/starter/frontend/package.json @@ -16,7 +16,8 @@ "scripts": { "serve": "serve -s build", "lint": "eslint .", - "start": "react-scripts start --entry ./public/index.html", + "start": "react-scripts start", + "build": "react-scripts build", "test": "react-scripts test --transformIgnorePatterns", "clean": "rm -rf ./node_modules && rm -rf ./build"