# Docker For Rails Developers - Chapter 2 Defining Our First Custom Image WORKDIR Correctoin

**URL:** <https://forum.devtalk.com/t/docker-for-rails-developers-chapter-2-defining-our-first-custom-image-workdir-correctoin/753>\
**Category:** PragProg Customers\
**Tags:** book-docker-for-rails-developers\
**Created:** [11 June 2020 14:32 UTC](https://forum.devtalk.com/t/docker-for-rails-developers-chapter-2-defining-our-first-custom-image-workdir-correctoin/753 "2020-06-11T14:32:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Travis](https://forum.devtalk.com/user_avatar/forum.devtalk.com/travis/32/573_2.png) [@Travis](https://forum.devtalk.com/u/Travis)\
**Post date:** [31 October 2020 04:40 UTC](https://forum.devtalk.com/t/docker-for-rails-developers-chapter-2-defining-our-first-custom-image-workdir-correctoin/753/3 "2020-10-31T04:40:13Z")

</div>

I ended up with a different solution and believe my original problem was a wrong file structure.

My Dockerfile is now located in the Rails app - myapp. The value of `WORKDIR` is `/usr/src/app/`.

Is that how you have yours now?

---

_[View the full topic](https://forum.devtalk.com/t/docker-for-rails-developers-chapter-2-defining-our-first-custom-image-workdir-correctoin/753)._
