#3868·fresh

Bad Dockerfile example in deployment docs

Author: CCXLVCreated Jun 16, 2026Updated Jun 16, 2026

Current example of Dockerfile in docs is actually a really bad approach. According to it the built image includes the whole Fresh app source code which is not very ideal in production environments.

I'm suggesting providing a better example with multiple stages: build and runtime, then copying all the necessary directories that are needed for Fresh to function in the final image.