Skip to content

Commit 733c570

Browse files
authored
feat: remove Dashboard (#81)
1 parent 86968b3 commit 733c570

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

alpine/Dockerfile

-16
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
FROM node:10-alpine3.11 AS build-stage
2-
3-
ARG APISIX_VERSION=1.3
4-
5-
RUN set -x \
6-
&& /bin/sed -i 's,http://dl-cdn.alpinelinux.org,https://mirrors.aliyun.com,g' /etc/apk/repositories \
7-
&& apk add --no-cache --virtual .build-deps git \
8-
&& git clone -b ${APISIX_VERSION} https://github.com/apache/apisix.git /tmp/apisix \
9-
&& cd /tmp/apisix \
10-
&& git submodule init \
11-
&& git submodule update \
12-
&& cd dashboard \
13-
&& yarn && yarn build:prod
14-
151
FROM openresty/openresty:alpine-fat AS production-stage
162

173
ARG APISIX_VERSION=1.3
@@ -46,8 +32,6 @@ COPY --from=production-stage /usr/local/openresty/ /usr/local/openresty/
4632
COPY --from=production-stage /usr/local/apisix/ /usr/local/apisix/
4733
COPY --from=production-stage /usr/bin/apisix /usr/bin/apisix
4834

49-
COPY --from=build-stage /tmp/apisix/dashboard/dist/ /usr/local/apisix/dashboard/
50-
5135
ENV PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
5236

5337
EXPOSE 9080 9443

0 commit comments

Comments
 (0)