mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
added stage alias
resolve build error 'invalid from flag value 0: repository sha256 not found: does not exist or no pull access' Signed-off-by: Brett Johnson <brett@sdbrett.com>
This commit is contained in:
parent
0793bf316f
commit
1eb64e43ef
@ -1,4 +1,4 @@
|
||||
FROM node:10.7.0
|
||||
FROM node:10.7.0 as nodeportal
|
||||
|
||||
RUN mkdir -p /portal_src
|
||||
RUN mkdir -p /build_dir
|
||||
@ -24,7 +24,7 @@ RUN tdnf install -y nginx >> /dev/null \
|
||||
EXPOSE 80
|
||||
VOLUME /var/cache/nginx /var/log/nginx /run
|
||||
|
||||
COPY --from=0 /build_dir/dist /usr/share/nginx/html
|
||||
COPY --from=nodeportal /build_dir/dist /usr/share/nginx/html
|
||||
COPY make/photon/portal/nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
STOPSIGNAL SIGQUIT
|
||||
|
Loading…
Reference in New Issue
Block a user