fix wromg path for web page
This commit is contained in:
parent
0f8f82a766
commit
997dc82ef7
1 changed files with 3 additions and 2 deletions
|
@ -21,12 +21,13 @@ FROM alpine:latest
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk upgrade && \
|
apk upgrade && \
|
||||||
apk add apache2 php8-apache2 php8-mysqli curl
|
apk add apache2 php8-apache2 php8-mysqli curl && \
|
||||||
|
rm /var/www/localhost/htdocs/
|
||||||
|
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
# | copy website from node build
|
# | copy website from node build
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
COPY --from=composer /build/public /usr/local/apache2/htdocs/
|
COPY --from=composer /build/public /var/www/localhost/htdocs/
|
||||||
|
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
# | enable apache modules
|
# | enable apache modules
|
||||||
|
|
Loading…
Reference in a new issue