diff --git a/Dockerfile b/Dockerfile index 68e28cb..462810e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:latest AS build -WORKDIR /portfolio +WORKDIR /app COPY package.json ./ RUN yarn install @@ -8,4 +8,4 @@ COPY . ./ RUN npm run build FROM nginx:1.19-alpine -COPY --from=build /portfolio/build /usr/share/nginx/html +COPY --from=build /app/build /usr/share/nginx/html