Compare commits
2 commits
e5c9250991
...
a8d6645eee
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a8d6645eee | ||
![]() |
870175e024 |
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
FROM ubuntu:lastest AS webserver
|
||||
RUN apt-get update && apt-get install -y apache2
|
||||
RUN apt-get update && apt-get install -y apache2 openssl ca-certificates \
|
||||
&& openssl req -nodes -newkey rsa:2048 -sha256 -keyout private-rsa.key -out certifactes.csr
|
||||
|
||||
|
||||
WORKDIR /var/www/html
|
||||
COPY ./public/ .
|
||||
CMD ["apache2ctl", "-D", "FOREGROUND"]
|
Loading…
Add table
Add a link
Reference in a new issue