mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-17 13:58:19 +00:00
Update element/Makefile, element/Dockerfile, .gitlab-ci.yml files
This commit is contained in:
8
element/Dockerfile
Normal file
8
element/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM nginx: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
|
Reference in New Issue
Block a user