Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VCCI-News
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Văn Hoàng
VCCI-News
Commits
2832f0ef
Commit
2832f0ef
authored
Aug 06, 2026
by
Lê Bảo Hồng Đức
☄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7d309aad
Pipeline
#52414
passed with stages
in 2 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
build.sh
.ci/build/build.sh
+1
-0
.dockerignore
.dockerignore
+2
-2
orval.config.ts
orval.config.ts
+1
-0
No files found.
.ci/build/build.sh
View file @
2832f0ef
#!/bin/bash
#!/bin/bash
set
-e
cd
.ci
cd
.ci
sudo
docker build
-t
$image_name
:
$tag
-f
$docker_path
/build.Dockerfile ../
sudo
docker build
-t
$image_name
:
$tag
-f
$docker_path
/build.Dockerfile ../
sudo
docker
logout
registry.gitlab.com
sudo
docker
logout
registry.gitlab.com
...
...
.dockerignore
View file @
2832f0ef
...
@@ -35,5 +35,5 @@ yarn-error.log*
...
@@ -35,5 +35,5 @@ yarn-error.log*
coverage
coverage
.nyc_output
.nyc_output
# Swagger spec
chỉ dùng cho local dev — base image nên dùng BE thật
# Swagger spec
— cần thiết cho Docker build để generate API client nhất quán với local
openapi/
# (orval.config.ts sẽ ưu dụng local file trước, fallback sang fetch từ BE)
orval.config.ts
View file @
2832f0ef
...
@@ -28,6 +28,7 @@ const backendHost = process.env.NEXT_PUBLIC_BACKEND_HOST;
...
@@ -28,6 +28,7 @@ const backendHost = process.env.NEXT_PUBLIC_BACKEND_HOST;
const
siteURL
=
process
.
env
.
NEXT_PUBLIC_FRONTEND_HOST
;
const
siteURL
=
process
.
env
.
NEXT_PUBLIC_FRONTEND_HOST
;
const
swaggerCandidates
=
[
const
swaggerCandidates
=
[
path
.
resolve
(
process
.
cwd
(),
"openapi"
,
"swagger-output.json"
),
process
.
env
.
ORVAL_SWAGGER_URL
,
process
.
env
.
ORVAL_SWAGGER_URL
,
path
.
resolve
(
process
.
cwd
(),
".."
,
"vietprodev-cms-backend"
,
"storage"
,
"swagger"
,
"swagger-output.json"
),
path
.
resolve
(
process
.
cwd
(),
".."
,
"vietprodev-cms-backend"
,
"storage"
,
"swagger"
,
"swagger-output.json"
),
`
${
backendHost
}
/swagger-output.json`
,
`
${
backendHost
}
/swagger-output.json`
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment