Skip to content

Commit

Permalink
refactor Dockerfile.frontend to just copy the binary in last step
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldo Fuster Turpin committed Apr 19, 2024
1 parent 7500875 commit d2026ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.frontend
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ RUN make frontend

FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9-1161

COPY --from=builder /app/ /usr/local/bin/
COPY --from=builder /app/aro-hcp-frontend /usr/local/bin/
ENTRYPOINT ["aro-hcp-frontend"]
EXPOSE 8443/tcp
6 changes: 6 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ARO-HCP-FRONTEND

## Build the frontend container
docker build -f Dockerfile.frontend -t aro-hcp-frontend .

## Run the frontend container
docker run -p 8443:8443 aro-hcp-frontend

## Run the frontend

```bash
Expand Down

0 comments on commit d2026ca

Please sign in to comment.