fix lighttpd config in docker
This commit is contained in:
parent
12091c9e4d
commit
91d9041b0b
2 changed files with 9 additions and 4 deletions
|
|
@ -5,5 +5,8 @@ WORKDIR /app
|
|||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
COPY docker/lighttp.conf /app/lighttp.conf
|
||||
CMD ["lighttpd", "-D", "-f", "/app/lighttp.conf"]
|
||||
COPY docker/lighttpd.conf /app/lighttpd.conf
|
||||
RUN mkdir -p /var/www
|
||||
RUN mv dist/* /var/www
|
||||
RUN lighttpd -tt -f lighttpd.conf
|
||||
CMD ["lighttpd", "-D", "-f", "/app/lighttpd.conf"]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
server.document-root = "/app/dist"
|
||||
server.document-root = "/var/www"
|
||||
|
||||
# to test webhook
|
||||
server.port = 3000
|
||||
|
||||
server.modules = ( "mod_indexfile" )
|
||||
index-file.names = ( "index.html" )
|
||||
|
||||
# If running lighttpd earlier than lighttpd 1.4.71, uncomment (remove '#') to add the following:
|
||||
#mimetype.assign = (
|
||||
# ".html" => "text/html",
|
||||
Loading…
Reference in a new issue