mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-05 16:34:57 +05:30
fix: #224
This commit is contained in:
parent
2755590fce
commit
2eb319ee1b
1 changed files with 3 additions and 2 deletions
|
|
@ -10,9 +10,10 @@ RUN npm run build
|
|||
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY mime.types /etc/nginx/mime.types
|
||||
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
RUN echo 'application/javascript mjs;' >> /etc/nginx/mime.types
|
||||
|
||||
RUN sed -i 's|index index.html index.htm;|index index.html index.htm;\n try_files $uri $uri/ /index.html;|' /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue