[GH-ISSUE #108] Building ambar-frontend: lstat dist: no such file or directory #107

Closed
opened 2026-02-27 15:55:03 +03:00 by kerem · 1 comment
Owner

Originally created by @miicha on GitHub (Jan 4, 2018).
Original GitHub issue: https://github.com/RD17/ambar/issues/108

I'm trying to build the docker container of the ambar-frontend. The Dockerfile doesn't look very complex, but unfortunately the build stops at this line: COPY dist /usr/share/nginx/html since there is no dist file in the repo (whereas the default file one line above exists).
If I docker build the frontend without copying the dist and start ambar afterwards I only get the "welcome to nginx" screen
Can somebody help me building the frontend?

Originally created by @miicha on GitHub (Jan 4, 2018). Original GitHub issue: https://github.com/RD17/ambar/issues/108 I'm trying to build the docker container of the ambar-frontend. The Dockerfile doesn't look very complex, but unfortunately the build stops at this line: ```COPY dist /usr/share/nginx/html``` since there is no dist file in the repo (whereas the default file one line above exists). If I docker build the frontend without copying the ```dist``` and start ambar afterwards I only get the "welcome to nginx" screen Can somebody help me building the frontend?
kerem closed this issue 2026-02-27 15:55:03 +03:00
Author
Owner

@miicha commented on GitHub (Jan 5, 2018):

It was my fault: I did not run npm run-script deploy:prod before docker build

<!-- gh-comment-id:355549177 --> @miicha commented on GitHub (Jan 5, 2018): It was my fault: I did not run ```npm run-script deploy:prod``` before docker build
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/ambar#107
No description provided.