Skip to content

Commit 36aeb13

Browse files
🚧 test new command
1 parent 7f95e0a commit 36aeb13

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

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

4-
RUN openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx.key -out /etc/ssl/certs/nginx.crt
5-
4+
RUN <<EOR
5+
apk add 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
68
EXPOSE 443

0 commit comments

Comments
 (0)