-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (21 loc) · 719 Bytes
/
Copy pathDockerfile
File metadata and controls
33 lines (21 loc) · 719 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
26
27
28
29
30
31
32
# Author: Cuong Tran
#
# Build: docker build -t cuongtransc/app:0.1 .
# Run: docker run -d -p 8080:8080 --name app-run cuongtransc/app:0.1
#
FROM cuongtransc/java:oracle-java7
LABEL maintainer="cuongtransc@gmail.com"
# using apt-cacher-ng proxy for caching deb package
RUN echo 'Acquire::http::Proxy "http://172.17.0.1:3142/";' > /etc/apt/apt.conf.d/01proxy
ENV REFRESHED_AT 2015-10-22
RUN apt-get update -qq
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3-jinja2
RUN mkdir /data/olbius-ofbiz
VOLUME /data/olbius-ofbiz
WORKDIR /data/olbius-ofbiz
COPY config /data/config
EXPOSE 8080 8443
# docker entrypoint
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["start-ofbiz"]