Docker config

This commit is contained in:
Serge Rider
2020-06-06 14:26:28 +00:00
parent a72b0e69c3
commit 85dfb484b2
2 changed files with 21 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM adoptopenjdk/openjdk11:x86_64-ubuntu-jdk-11.0.7_10
RUN apt-get update
RUN apt-get install -y supervisor
RUN mkdir -p /opt/cloudbeaver
COPY cloudbeaver /opt/cloudbeaver
RUN ["chmod", "+x", "/opt/cloudbeaver/run-server.sh"]
COPY supervisor/cloudbeaver.conf /etc/supervisor/conf.d/cloudbeaver.conf
EXPOSE 8978
CMD ["/usr/bin/supervisord"]
# ENTRYPOINT ["/opt/cloudbeaver/run-server.sh"]
+4 -3
View File
@@ -1,13 +1,14 @@
FROM x86_64-ubuntu-jdk-11.0.7_10
FROM adoptopenjdk/openjdk11:x86_64-ubuntu-jdk-11.0.7_10
RUN apt-get update
RUN apt-get install -y supervisor
RUN mkdir -p /opt/cloudbeaver
COPY ../cloudbeaver/* /opt/cloudbeaver/
COPY cloudbeaver /opt/
RUN ["chmod", "+x", "/opt/cloudbeaver/run-server.sh"]
COPY ../supervisord/cloudbeaver.conf /etc/supervisor/conf.d/cloudbeaver.conf
COPY supervisord/cloudbeaver.conf /etc/supervisor/conf.d/cloudbeaver.conf
EXPOSE 8978