Skip to content

Commit

Permalink
FIx dockerfile for building react (#764)
Browse files Browse the repository at this point in the history
* monitoring docker stack

* Fix dockerfile for boost gui

It was not building

* Drop unneeded dir

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
  • Loading branch information
airenas and nonsense authored Sep 5, 2022
1 parent cf40c82 commit 8126c0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/devnet/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ DOCKER_USER=filecoin
LOTUS_IMAGE=${DOCKER_USER}/lotus-dev:1.17.1-rc2
LOTUS_MINER_IMAGE=${DOCKER_USER}/lotus-miner-dev:1.17.1-rc2
BOOST_IMAGE=${DOCKER_USER}/boost-dev:dev
BOOST_GUI_IMAGE=${DOCKER_USER}/boost-gui:1.3.0-rc1
BOOST_GUI_IMAGE=${DOCKER_USER}/boost-gui:dev
4 changes: 2 additions & 2 deletions docker/devnet/boost-gui/Dockerfile.source
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ EXPOSE 8000
ENV BOOST_URL=http://boost:8080

COPY --from=builder /build/react/build usr/share/nginx/html
COPY build/devnet/boost-gui/nginx.conf.in /app/nginx.conf.in
COPY build/devnet/boost-gui/entrypoint.sh /app/entrypoint.sh
COPY docker/devnet/boost-gui/nginx.conf.in /app/nginx.conf.in
COPY docker/devnet/boost-gui/entrypoint.sh /app/entrypoint.sh

ENTRYPOINT ["/app/entrypoint.sh"]
5 changes: 3 additions & 2 deletions docker/devnet/boost-gui/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#####################################################################################
service=$(docker_user)/boost-gui
version=$(boost_version)
version=dev
########### DOCKER ##################################################################
tag=$(service):$(version)
rootdir=$(realpath .)

dbuild:
docker build -t $(tag) -f Dockerfile.source --build-arg BUILD_VERSION=$(version) .
docker build -t $(tag) -f Dockerfile.source --build-arg BUILD_VERSION=$(version) $(rootdir)/../../../

dpush: dbuild
docker push $(tag)
Expand Down

0 comments on commit 8126c0f

Please sign in to comment.