-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from medianetlab/develop
Develop
- Loading branch information
Showing
10 changed files
with
84 additions
and
58 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
FROM nginx:1.23.2 | ||
|
||
RUN rm -rf /etc/nginx/conf.d/default.conf | ||
|
||
COPY conf.d/app.conf /etc/nginx/conf.d/app.conf | ||
|
||
#Create the private-public keys only on build | ||
COPY ./self-signed-crt.sh / | ||
RUN chmod 700 self-signed-crt.sh | ||
RUN mkdir -p /etc/nginx/certs | ||
# RUN /self-signed-crt.sh | ||
|
||
COPY ./certs /etc/nginx/certs | ||
RUN rm -rf /etc/nginx/conf.d/default.conf | ||
COPY ./conf.d/app.conf /etc/nginx/conf.d/app.conf | ||
COPY ./dynamic_ports.sh / | ||
RUN chmod 700 dynamic_ports.sh | ||
COPY ./self-signed-crt.sh / | ||
|
||
|
||
#Create the private-public keys only on build | ||
RUN /self-signed-crt.sh | ||
RUN chmod 700 dynamic_ports.sh |