# Stuck on production environment configuration

**URL:** <https://community.forestadmin.com/t/stuck-on-production-environment-configuration/3191>\
**Category:** Help me!\
**Tags:** setup\
**Created:** [September 1, 2021, 6:35pm UTC](https://community.forestadmin.com/t/stuck-on-production-environment-configuration/3191 "2021-09-01T18:35:02Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [September 3, 2021, 8:51am UTC](https://community.forestadmin.com/t/stuck-on-production-environment-configuration/3191/21 "2021-09-03T08:51:32Z")

</div>

I asked the question since the generated `Dockerfile` from `forest-cli` is based on top of `node-alpine`, which should lead to a `root:root` user & group, and not `ubuntu:ubuntu` as your output mentioned.

Also, there are no `node_modules` in your output you shared, which leads me to think that you are either using a shared volume, modify the provided `Dockerfile` or that your output does not come from a docker container.

Finally, our provided `.dockerignore` include `.env`, so I’m not sure why you would have this file in the context of your production & not `node_modules`.

---

<div class="post-metadata">

**Author:** ![shdwraze](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/shdwraze/32/2990_2.png) [@shdwraze](https://community.forestadmin.com/u/shdwraze)\
**Post date:** [September 3, 2021, 9:02am UTC](https://community.forestadmin.com/t/stuck-on-production-environment-configuration/3191/22 "2021-09-03T09:02:03Z")

</div>

seems i have a problems in path, i’ll check

---

<div class="post-metadata">

**Author:** ![Sebastien\_Lubineau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sebastien_lubineau/32/3063_2.png) [@Sebastien\_Lubineau](https://community.forestadmin.com/u/Sebastien_Lubineau)\
**Post date:** [September 10, 2021, 1:15pm UTC](https://community.forestadmin.com/t/stuck-on-production-environment-configuration/3191/23 "2021-09-10T13:15:38Z")

</div>

Hello, I think I had the exact same issue while trying to deploy the forest admin backend to an ECS cluster in AWS. The installation could not complete because the file .forestadmin-schema.json was not found.

I was using the Dockerfile generated with the project:

```javascript
FROM node:10-alpine
WORKDIR /usr/src/app
# install node_modules in another directory to easy mount folder for develoment purpose
ENV NODE_PATH=/usr/src/node_modules
COPY . .
RUN npm install -s --prefix /usr/src .
EXPOSE ${APPLICATION_PORT}
CMD ["npm", "start"]

```

At some point I had no clue what was going on and try to remove the part where the NODE\_PATH is changed “for development purpose”. I then used the following Dockerfile and the error was gone and the file got found.

```javascript
FROM node:10-alpine
WORKDIR /usr/src/app
COPY . .
RUN npm install 
EXPOSE ${APPLICATION_PORT}
CMD ["npm", "start"]

```

I hope this can help you if you read this tread to the bottom 🙂

---

<div class="post-metadata">

**Author:** ![shdwraze](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/shdwraze/32/2990_2.png) [@shdwraze](https://community.forestadmin.com/u/shdwraze)\
**Post date:** [September 10, 2021, 1:47pm UTC](https://community.forestadmin.com/t/stuck-on-production-environment-configuration/3191/24 "2021-09-10T13:47:35Z")

</div>

Yea, i did the same. Thanks 🙂

[Previous page](https://community.forestadmin.com/t/stuck-on-production-environment-configuration/3191.md?page=1)
