Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
POC Mirador
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
Service Desk
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
IIIF
POC Mirador
Merge requests
!17
Resolve "Build dependencies from POC"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Build dependencies from POC"
24-everything-from-git-no-prod-build-for-dev
into
main
Overview
0
Commits
8
Pipelines
0
Changes
2
Merged
David Beniamine
requested to merge
24-everything-from-git-no-prod-build-for-dev
into
main
2 years ago
Overview
0
Commits
8
Pipelines
0
Changes
2
Expand
Closes
#24 (closed)
0
0
Merge request reports
Viewing commit
a0033939
Prev
Next
Show latest version
2 files
+
7
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Verified
a0033939
Remove build of prod and switch back to NPM
· a0033939
David Beniamine
authored
2 years ago
Dockerfile
+
6
−
4
Options
@@ -5,9 +5,11 @@ RUN chown -R node:node /opt
EXPOSE
9000
WORKDIR
/opt
USER
node
RUN
yarn
install
RUN
yarn run build
CMD
yarn run serve
CMD
npm run serve
FROM
mirador
as
builder
RUN
npm
install
RUN
npm run build
FROM
caddy:latest
as
httpd
COPY
--from=
mirado
r /opt/public /srv
COPY
--from=
builde
r /opt/public /srv
Loading