configured webpack to copy olm.wasm automatically
This commit is contained in:
@@ -12,8 +12,6 @@ RUN npm install \
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=builder /src/dist /app
|
||||
COPY --from=builder /src/olm.wasm /app/olm.wasm
|
||||
COPY --from=builder /src/_redirects /app/_redirects
|
||||
|
||||
# Insert wasm type into Nginx mime.types file so they load correctly.
|
||||
RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types
|
||||
|
||||
Reference in New Issue
Block a user