Skip to content

Commit 2cd9a67

Browse files
🚧 test new command 3
1 parent 781111f commit 2cd9a67

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
FROM nginx:alpine
22
COPY nginx.conf /etc/nginx/nginx.conf
33

4-
RUN <<EOR
5-
apt install openssl
6-
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx.key -out /etc/ssl/certs/nginx.crt
7-
EOR
4+
RUN apt install openssl
5+
RUN openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx.key -out /etc/ssl/certs/nginx.crt
86
EXPOSE 443

0 commit comments

Comments
 (0)