-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathappDockerfile
More file actions
25 lines (24 loc) · 904 Bytes
/
appDockerfile
File metadata and controls
25 lines (24 loc) · 904 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
# This file describes the standard way to build Data4Test on trial env image, and using container
#
# When build it, please prepare the all content of deploy directory
# you can read ci/getInitPackage.sh, to get the all content of deploy dirctory
#
# Usage:
#
# # Assemble the all environment, get related database tools in docker-compose.yml, It is slow the first time.
# docker build -f appDockerfile -t data4test:5.0 .
# docker tag data4test:5.0 josingcjx/data4test:5.0
# docker push josingcjx/data4test:5.0
# use this image in docker-compose.yml
# docker-compose up -d
# docker-compose up
# You can visit Data4Test by http://127.0.0.1:9088 admin / admin to use it ~
FROM centos:latest
MAINTAINER josingcjx
# Start it after get the ./deploy content finish
COPY ./deploy/ /home/data4test
WORKDIR /home/data4test
RUN cd /home/data4test && \
chmod +x data4test
EXPOSE 9088
ENTRYPOINT ["./data4test"]