Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vt-research-connect-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cscapstone-group3
vt-research-connect-frontend
Commits
fb12b3fe
Commit
fb12b3fe
authored
9 months ago
by
Johann Ruiz
Browse files
Options
Downloads
Patches
Plain Diff
Editing dockerfile
parent
57bf4dc6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#10639
passed
9 months ago
Stage: build
Stage: test
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
vite.config-docker.ts
+8
-0
8 additions, 0 deletions
vite.config-docker.ts
vite.config.ts
+1
-0
1 addition, 0 deletions
vite.config.ts
with
11 additions
and
1 deletion
Dockerfile
+
2
−
1
View file @
fb12b3fe
...
...
@@ -5,9 +5,10 @@ WORKDIR /vtrc
COPY
public/ /vtrc/public
COPY
src/ /vtrc/src
COPY
package.json package-lock.json tsconfig.json vite.config.ts tsconfig.node.json index.html .eslintrc.cjs /vtrc/
COPY
vite.config-docker.ts /vtrc/vite.config.ts
RUN
npm ci
EXPOSE
5173
CMD
["npm", "run", "dev"
, "--", "--host"
]
CMD
["npm", "run", "dev"]
This diff is collapsed.
Click to expand it.
vite.config-docker.ts
0 → 100644
+
8
−
0
View file @
fb12b3fe
import
{
defineConfig
}
from
'
vite
'
import
react
from
'
@vitejs/plugin-react
'
// https://vitejs.dev/config/
export
default
defineConfig
({
plugins
:
[
react
()],
server
:
{
port
:
80
}
})
This diff is collapsed.
Click to expand it.
vite.config.ts
+
1
−
0
View file @
fb12b3fe
...
...
@@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export
default
defineConfig
({
plugins
:
[
react
()],
server
:
{
port
:
5175
}
})
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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