Skip to content

Commit

Permalink
Tmp Use cached frontend changes till PR where frontend changes live a…
Browse files Browse the repository at this point in the history
…re not merged
  • Loading branch information
sleshchenko authored and amisevsk committed May 21, 2020
1 parent 0ae705e commit f9165bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
frontend
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM sleshchenko/openshift-console:cloud-shell-terminal as frontend-app
FROM quay.io/coreos/tectonic-console-builder:v19 AS build

RUN mkdir -p /go/src/github.com/openshift/console/
ADD . /go/src/github.com/openshift/console/
WORKDIR /go/src/github.com/openshift/console/
RUN ./build.sh
RUN ./build-backend.sh

FROM openshift/origin-base

COPY --from=build /go/src/github.com/openshift/console/frontend/public/dist /opt/bridge/static
COPY --from=frontend-app /opt/bridge/static /opt/bridge/static
COPY --from=build /go/src/github.com/openshift/console/bin/bridge /opt/bridge/bin/bridge

LABEL io.k8s.display-name="OpenShift Console" \
Expand Down

0 comments on commit f9165bd

Please sign in to comment.