This commit is contained in:
@@ -7,6 +7,6 @@ RUN npm run build
|
|||||||
|
|
||||||
FROM nginx:1.27-alpine AS final
|
FROM nginx:1.27-alpine AS final
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html/taller
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ server {
|
|||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
location / {
|
location /taller/ {
|
||||||
try_files $uri /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -467,7 +467,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||||||
<div class="openbokeron-logo">
|
<div class="openbokeron-logo">
|
||||||
<div class="logo-bubble">
|
<div class="logo-bubble">
|
||||||
<img
|
<img
|
||||||
src="/open-bokeron-logo.png"
|
src={`${import.meta.env.BASE_URL}/open-bokeron-logo.png`}
|
||||||
alt="Logo de Open Bokeron"
|
alt="Logo de Open Bokeron"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'vite';
|
|||||||
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
base: '/taller',
|
base: '/taller/',
|
||||||
plugins: [svelte()],
|
plugins: [svelte()],
|
||||||
test: {
|
test: {
|
||||||
environment: 'jsdom',
|
environment: 'jsdom',
|
||||||
|
|||||||
Reference in New Issue
Block a user