# All files needed or only /public files for production installation?

**URL:** <https://forum.shopware.com/t/all-files-needed-or-only-public-files-for-production-installation/63679>\
**Category:** Installation/Einstieg\
**Created:** [23. Dezember 2019 um 10:52 UTC](https://forum.shopware.com/t/all-files-needed-or-only-public-files-for-production-installation/63679 "2019-12-23T10:52:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![julianf](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@julianf](https://forum.shopware.com/u/julianf)\
**Post date:** [23. Dezember 2019 um 10:52 UTC](https://forum.shopware.com/t/all-files-needed-or-only-public-files-for-production-installation/63679/1 "2019-12-23T10:52:58Z")

</div>

Hi,

I want to install Shopware 6 on my system but I am running a Docker setup where a /web directory is mounted and served to the web through Apache.

This /web directory is essentially the /public directory. Can I just upload the files from /public to that folder and skip all other files such as src, files, custom, config, vendor, etc.?

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [23. Dezember 2019 um 11:14 UTC](https://forum.shopware.com/t/all-files-needed-or-only-public-files-for-production-installation/63679/2 "2019-12-23T11:14:08Z")

</div>

Currently, the /public folder is required and is not configurable in everyplace.

---

<div class="post-metadata">

**Author:** ![julianf](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@julianf](https://forum.shopware.com/u/julianf)\
**Post date:** [23. Dezember 2019 um 13:15 UTC](https://forum.shopware.com/t/all-files-needed-or-only-public-files-for-production-installation/63679/3 "2019-12-23T13:15:57Z")

</div>

> [@Shyim schrieb:](https://forum.shopware.com/profile/20792/Shyim "Shyim")
> 
> Currently, the /public folder is required and is not configurable in everyplace.

I mean, do I only need the public folder or do I need all files? For a production instance

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [23. Dezember 2019 um 13:58 UTC](https://forum.shopware.com/t/all-files-needed-or-only-public-files-for-production-installation/63679/4 "2019-12-23T13:58:38Z")

</div>

You need all files

public is the entrypoint for the webserver. So documentroot / root points there

---

<div class="post-metadata">

**Author:** ![julianf](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@julianf](https://forum.shopware.com/u/julianf)\
**Post date:** [23. Dezember 2019 um 19:56 UTC](https://forum.shopware.com/t/all-files-needed-or-only-public-files-for-production-installation/63679/5 "2019-12-23T19:56:36Z")

</div>

> [@Shyim schrieb:](https://forum.shopware.com/profile/20792/Shyim "Shyim")
> 
> You need all files
> 
> public is the entrypoint for the webserver. So documentroot / root points there

but where does the webserver come from? I already have an apache setup where the /web directory is the entrypoint, so any index.php in there is served to the web. Can’t I just put Shopware’s public folder content in there?&nbsp;

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [23. Dezember 2019 um 21:29 UTC](https://forum.shopware.com/t/all-files-needed-or-only-public-files-for-production-installation/63679/6 "2019-12-23T21:29:14Z")

</div>

You just need to adjust the V-Host of the server to serve everything from the public folder. Normally every hoster offers this during domain setup.
