Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
93fde9f0
Commit
93fde9f0
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
test
parent
b54dea56
No related branches found
No related tags found
1 merge request
!7
K8s deploy
Pipeline
#111493
canceled with stages
in 1 minute and 30 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-2
5 additions, 2 deletions
Dockerfile
with
5 additions
and
2 deletions
Dockerfile
+
5
−
2
View file @
93fde9f0
ARG
BASE_URL=/
### Stage Install ###
### Stage Install ###
FROM
node:19.5-bullseye-slim
as
install
FROM
node:19.5-bullseye-slim
as
install
...
@@ -41,10 +39,15 @@ CMD [ "node", "server/index.mjs"]
...
@@ -41,10 +39,15 @@ CMD [ "node", "server/index.mjs"]
### STAGE: Generate ###
### STAGE: Generate ###
FROM
node:19.5-bullseye-slim
as
generate
FROM
node:19.5-bullseye-slim
as
generate
ARG
BASE_URL=/
RUN
echo
"base_url"
RUN
echo
${
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
"the base url env var"
RUN
echo
${
NUXT_APP_BASE_URL
}
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment