forked from TencentFemas/femas
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (15 loc) · 672 Bytes
/
Dockerfile
File metadata and controls
22 lines (15 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ubuntu:20.04
#LABEL maintainer "minghhou <minghhou>"
#
#ENV BUILD_MODE="docker"
#
#RUN sed -i 's/archive.ubuntu.com/mirrors.tencent.com/g' /etc/apt/sources.list && \
# sed -i 's/security.ubuntu.com/mirrors.tencent.com/g' /etc/apt/sources.list
#
#RUN apt update && apt install openjdk-8-jdk maven iproute2 -y
COPY ./femas-admin-starter/target/femas-admin-starter-*/* /usr/local/src/femas
#RUN echo "start build docker" && cd /usr/local/src/femas && mvn -Dmaven.test.skip=true clean install -U
#COPY ./entrypoint.sh /entrypoint.sh
#RUN chmod +x /entrypoint.sh
RUN chmod +x /usr/local/src/femas/bin/startup.sh
ENTRYPOINT ["/usr/local/src/femas/bin/startup.sh"]