diff --git a/examples/with-docker-multi-env/docker/staging/Dockerfile b/examples/with-docker-multi-env/docker/staging/Dockerfile index 9881c1a56fd63..8f39579fe3f6a 100644 --- a/examples/with-docker-multi-env/docker/staging/Dockerfile +++ b/examples/with-docker-multi-env/docker/staging/Dockerfile @@ -25,7 +25,7 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . # This will do the trick, use the corresponding env file for each environment. -COPY .env.staging.sample .env.production +COPY .env.staging.sample .env.staging RUN npm run build # 3. Production image, copy all the files and run next