mirror of
https://github.com/RD17/ambar.git
synced 2026-04-25 15:35:49 +03:00
[GH-ISSUE #286] Error building FrontEnd #269
Labels
No labels
$$ Paid Support
bug
bug
enhancement
help wanted
invalid
pull-request
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ambar#269
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 @AshleyOboe on GitHub (Jul 22, 2020).
Original GitHub issue: https://github.com/RD17/ambar/issues/286
I'm getting a build error on frontend
$ cd frontend
$ docker build . -t frontend
Error:
Sending build context to Docker daemon 177.4MB Step 1/8 : FROM nginx:latest ---> 8cf1bfb43ff5 Step 2/8 : RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y curl ---> Using cache ---> f1829a617007 Step 3/8 : ENV TZ=UTC ---> Using cache ---> ca4475816da7 Step 4/8 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ---> Using cache ---> 0dbd9ed2f2d1 Step 5/8 : COPY default /etc/nginx/conf.d/default.conf ---> Using cache ---> 442b575b0027 Step 6/8 : COPY dist /usr/share/nginx/html COPY failed: stat /var/lib/docker/tmp/docker-builder302332317/dist: no such file or directoryRunning Docker version 19.03.8, build afacb8b
I was using a newer version and rolled back to this current stable version of Docker.
Thanks.
@iddqd-dev commented on GitHub (Jul 23, 2020):
U must use "npm install" and "npm run compile" in frontend folder before u run docker build
@iddqd-dev commented on GitHub (Jul 23, 2020):
And dont forget use tweaks 4 correctly working
sudo su
echo "vm.max_map_count=262144" >> /etc/sysctl.conf
echo "net.ipv4.ip_local_port_range="15000 61000"" >> /etc/sysctl.conf
echo "net.ipv4.tcp_fin_timeout=30" >> /etc/sysctl.conf
echo "net.core.somaxconn=1024" >> /etc/sysctl.conf
echo "net.core.netdev_max_backlog=2000" >> /etc/sysctl.conf
echo "net.ipv4.tcp_max_syn_backlog=2048" >> /etc/sysctl.conf
echo "vm.overcommit_memory=1" >> /etc/sysctl.conf
reboot
@iddqd-dev commented on GitHub (Jul 25, 2020):
im helped u?
@stale[bot] commented on GitHub (Aug 9, 2020):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.