forked from polarismesh/polaris-console
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (19 loc) · 738 Bytes
/
Dockerfile
File metadata and controls
25 lines (19 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM alpine:3.13.6
RUN sed -i 's!http://dl-cdn.alpinelinux.org/!https://mirrors.tencent.com/!g' /etc/apk/repositories
RUN set -eux && \
apk add tcpdump && \
apk add tzdata && \
apk add busybox-extras && \
apk add curl && \
apk add bash && \
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone && \
date
COPY ./polaris_console_package/polaris-console /root/polaris-console
COPY ./polaris_console_package/tool /root/tool
COPY ./polaris_console_package/web /root/web
COPY ./polaris_console_package/swagger-ui /root/swagger-ui
COPY ./polaris_console_package/polaris-console.yaml /root/polaris-console.yaml
EXPOSE 8080
WORKDIR /root
CMD ["/root/polaris-console"]