harbor/make/photon/ui/Dockerfile

18 lines
392 B
Docker
Raw Normal View History

FROM vmware/photon:1.0
RUN tdnf distro-sync -y \
&& tdnf erase vim -y \
&& tdnf clean all \
&& mkdir /harbor/
2016-10-19 08:32:00 +02:00
COPY ./make/dev/ui/harbor_ui /harbor/
2016-10-19 08:32:00 +02:00
COPY ./src/ui/views /harbor/views
COPY ./src/ui/static /harbor/static
COPY ./src/favicon.ico /harbor/favicon.ico
2017-03-21 12:56:59 +01:00
COPY ./VERSION /harbor/VERSION
RUN chmod u+x /harbor/harbor_ui
WORKDIR /harbor/
ENTRYPOINT ["/harbor/harbor_ui"]