diff --git a/Dockerfile b/Dockerfile index b9925ec..b22758b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,4 @@ RUN yarn install COPY . ./ EXPOSE 3000 RUN yarn build -RUN yarn serve \ No newline at end of file +CMD yarn serve \ No newline at end of file diff --git a/package.json b/package.json index 6808895..805f963 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", - "serve": "npx serve -l 3000 -s build &" + "serve": "npx serve -l 3000 -s build" }, "eslintConfig": { "extends": [