Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
IDATT2106 Scrum Team 02
Frontend
Commits
113c7828
Commit
113c7828
authored
1 year ago
by
Jakob Grønhaug
Browse files
Options
Downloads
Patches
Plain Diff
Legg til Docker-konfigurasjon
parent
61b3e26d
No related branches found
No related tags found
1 merge request
!24
Legg til Docker-konfigurasjon
Pipeline
#225638
passed with stages
Stage:
Stage:
in 3 minutes and 6 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.dockerignore
+3
-0
3 additions, 0 deletions
.dockerignore
Dockerfile
+10
-0
10 additions, 0 deletions
Dockerfile
with
13 additions
and
0 deletions
.dockerignore
0 → 100644
+
3
−
0
View file @
113c7828
.vscode/
cypress/
node_modules/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
10
−
0
View file @
113c7828
FROM
node:lts
AS
frontend-builder
WORKDIR
/build
COPY
. /build
RUN
npm
install
RUN
npm run build
FROM
node:lts
AS
frontend-runner
COPY
--from=frontend-builder /build/dist .
EXPOSE
8888
ENTRYPOINT
["npx", "-y", "http-server-spa", ".", "index.html", "8888"]
\ No newline at end of file
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