Use custom nginx conf
This commit is contained in:
parent
1aa2efd2ce
commit
a3c4fac375
2 changed files with 49 additions and 0 deletions
|
@ -33,5 +33,8 @@ COPY --from=builder /src/webapp /app
|
|||
# Insert wasm type into Nginx mime.types file so they load correctly.
|
||||
RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types
|
||||
|
||||
# Override default nginx config
|
||||
COPY /nginx/config.d/default.conf /etc/nginx/config.d/default.conf
|
||||
|
||||
RUN rm -rf /usr/share/nginx/html \
|
||||
&& ln -s /app /usr/share/nginx/html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue