te
This commit is contained in:
parent
fd8296498c
commit
870175e024
1 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
||||||
FROM ubuntu:lastest AS webserver
|
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
|
WORKDIR /var/www/html
|
||||||
COPY ./public/ .
|
COPY ./public/ .
|
||||||
|
|
||||||
|
|
||||||
CMD ["apache2ctl", "-D", "FOREGROUND"]
|
CMD ["apache2ctl", "-D", "FOREGROU
|
Loading…
Add table
Add a link
Reference in a new issue