Skip to content
Snippets Groups Projects
Commit 8ce95007 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

WIP: display env base url

parent 17cd36bb
No related branches found
No related tags found
1 merge request!7K8s deploy
Pipeline #111471 canceled
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
...@@ -44,6 +44,8 @@ FROM node:19.5-bullseye-slim as generate ...@@ -44,6 +44,8 @@ FROM node:19.5-bullseye-slim as generate
ARG BASE_URL=/ ARG BASE_URL=/
ENV NUXT_APP_BASE_URL=${BASE_URL} ENV NUXT_APP_BASE_URL=${BASE_URL}
RUN echo "the base url env var"
RUN echo ${NUXT_APP_BASE_URL}
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY --from=install /usr/src/app ./ COPY --from=install /usr/src/app ./
COPY . /usr/src/app COPY . /usr/src/app
......
...@@ -2,7 +2,7 @@ server_tokens off; ...@@ -2,7 +2,7 @@ server_tokens off;
server { server {
listen 8080; listen 8080;
server_name localhost; server_name localhost;
location /wiki/ { location /wiki {
alias /etc/nginx/html/; alias /etc/nginx/html/;
index index.html index.htm; index index.html index.htm;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment