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
GitLab 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
Expand sidebar
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
Resolve "Build dependencies from POC"
David Beniamine
requested to merge
24-everything-from-git-no-prod-build-for-dev
into
main
Mar 1, 2023
Overview
0
Commits
8
Pipelines
0
Changes
2
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
Verified
a0033939
Remove build of prod and switch back to NPM
· a0033939
David Beniamine
authored
Mar 1, 2023
Dockerfile
+
9
−
4
View file @ b9722139
Edit in single-file editor
Open in Web IDE
Show full file
FROM
debian:stable
as
builder
RUN
apt-get update
&&
apt-get
install
-y
npm git
FROM
node:14
as
mirador
RUN
apt-get update
&&
apt-get
install
-y
git
COPY
. /opt
RUN
chown
-R
node:node /opt
EXPOSE
9000
WORKDIR
/opt
RUN
npm ci
USER
node
CMD
npm run serve
FROM
mirador
as
builder
RUN
npm
install
RUN
npm run build
FROM
caddy:latest
as
httpd
Loading