Created
November 4, 2019 23:13
-
-
Save JoaoVagner/1ea95ccfc89d4ea0f6ab96d1e532ba4f to your computer and use it in GitHub Desktop.
dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM pdbs/glassfish:latest | |
LABEL build="201923091740" maintainer="[email protected]" java.version="jdk1.8.0_151" glassfish.version="5.0" | |
ENV RDS_DATABASE_PASSWD | |
ENV RDS_DATABASE_PASSWD= | |
ENV RDS_DATABASE_NAME= | |
ENV RDS_DATABASE_ENDPOINT= | |
ENV RDS_DATABASE_PORT=RDS_DATABASE_ENDPOINT= | |
ENV RDS_DATABASE_PORT= | |
COPY start.sh / | |
COPY deploy.sh / | |
COPY autodeploy /autodeploy | |
ENV LANG='pt_BR.UTF-8' LANGUAGE='pt_BR:en' LC_ALL='pt_BR.UTF-8' TZ='America/Sao_Paulo' | |
RUN cd /opt/ && chmod 0750 /start.sh && chmod 0750 /deploy.sh | |
ENV PATH=$PATH:/opt/glassfish/glassfish/bin | |
EXPOSE 8080 8181 4848 | |
VOLUME ["/opt/glassfish/glassfish/domains"] | |
ENTRYPOINT ["/start.sh"] | |
# CMD ["/deploy.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment