mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
Update Dockerfile
This commit is contained in:
parent
c224357b36
commit
f70cc9c3c7
@ -1,8 +1,8 @@
|
||||
FROM nginx:alpine
|
||||
FROM nginx:1.20.0-alpine
|
||||
|
||||
COPY ./element /app
|
||||
|
||||
# Insert wasm type into Nginx mime.types file so they load correctly.
|
||||
RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types \
|
||||
&& rm -rf /usr/share/nginx/html \
|
||||
&& ln -s /app /usr/share/nginx/html
|
||||
&& ln -s /app /usr/share/nginx/html
|
||||
|
Loading…
Reference in New Issue
Block a user