mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #3156] How can i build the docker image? #2139
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#2139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @balves42 on GitHub (Aug 24, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3156
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
Instead of fetching the image i was trying to build it on my raspberry pi 4 but i have an error message. I don't know if i am missing something due to lack of experience building images directly or if some folder is missing
Nginx Proxy Manager Version
2.10.4
To Reproduce
Steps to reproduce the behavior:
docker build . -f ./docker/DockerfileStep 12/20 : COPY frontend/dist /app/frontend COPY failed: file not found in build context or excluded by .dockerignore: stat frontend/dist: file does not existappearsExpected behavior
Image built locally
Operating System
Debian GNU/Linux 11 (bullseye)
Additional context
Any help would be appreciated. Thank you
@balves42 commented on GitHub (Aug 25, 2023):
After searching a little bit more i read about the buildx and installed the necessary dependency.
I noticed my mistake about using "docker build" instead of "docker buildx" like the comments in the Dockerfile suggested.
The commands i ran are:
Now i have the image built. Thank you anyway