[GH-ISSUE #67] Unable to build locally using 'docker build' from latest release #66

Closed
opened 2026-02-26 05:34:02 +03:00 by kerem · 3 comments
Owner

Originally created by @binhex on GitHub (Feb 7, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/67

Hi, currently its not possible to build a new docker image from what is on github, if you pull down the latest release (or branch master) and then attempt a docker build you will see missing files used in the build, output:-

Step 9/21 : ENV NODE_ENV=production ---> Running in 0ae14e229c19 Removing intermediate container 0ae14e229c19 ---> f483986396ed Step 10/21 : ADD dist /app/dist ADD failed: stat /var/lib/docker/tmp/docker-builder216809384/dist: no such file or directory

so im assuming that all files ADDed at build time are not currently on github, any chance you could push these up please.

Originally created by @binhex on GitHub (Feb 7, 2019). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/67 Hi, currently its not possible to build a new docker image from what is on github, if you pull down the latest release (or branch master) and then attempt a docker build you will see missing files used in the build, output:- `Step 9/21 : ENV NODE_ENV=production ---> Running in 0ae14e229c19 Removing intermediate container 0ae14e229c19 ---> f483986396ed Step 10/21 : ADD dist /app/dist ADD failed: stat /var/lib/docker/tmp/docker-builder216809384/dist: no such file or directory` so im assuming that all files ADDed at build time are not currently on github, any chance you could push these up please.
kerem closed this issue 2026-02-26 05:34:03 +03:00
Author
Owner

@alaszlotrend commented on GitHub (Feb 13, 2019):

Have you tried to install the npm deps and build the application?

$ bin/yarn install
$ bin/yarn build
$ docker build .

I've just pulled down the latest and code and seems to be working

<!-- gh-comment-id:463330800 --> @alaszlotrend commented on GitHub (Feb 13, 2019): Have you tried to install the npm deps and build the application? ```sh $ bin/yarn install $ bin/yarn build $ docker build . ``` I've just pulled down the latest and code and seems to be working
Author
Owner

@binhex commented on GitHub (Feb 13, 2019):

i downloaded latest master branch and used the included Dockerfile to attempt build, according to some of the comments in the Dockerfile it should have all included dependencies from the base image used.

if those dependencies should be built as part of the build of the image then i would expect to see them included in the Dockerfile to be honest, as it stands its not really complete at the moment.

i will have a further play, thanks for the comment.

<!-- gh-comment-id:463375430 --> @binhex commented on GitHub (Feb 13, 2019): i downloaded latest master branch and used the included Dockerfile to attempt build, according to some of the comments in the Dockerfile it should have all included dependencies from the base image used. if those dependencies should be built as part of the build of the image then i would expect to see them included in the Dockerfile to be honest, as it stands its not really complete at the moment. i will have a further play, thanks for the comment.
Author
Owner

@jc21 commented on GitHub (Feb 18, 2019):

Take a look at the CI script, Jenkinsfile from line 64 to 71. You can ignore any commands using the $DOCKER_CI_TOOLS image, it's just a docker container with some helper commands.

Reopen if you still have problems.

<!-- gh-comment-id:464533558 --> @jc21 commented on GitHub (Feb 18, 2019): Take a look at the CI script, `Jenkinsfile` from line 64 to 71. You can ignore any commands using the `$DOCKER_CI_TOOLS` image, it's just a docker container with some helper commands. Reopen if you still have problems.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#66
No description provided.