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
Commits
a0033939
Verified
Commit
a0033939
authored
2 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Remove build of prod and switch back to NPM
parent
8c7bd5b6
No related branches found
No related tags found
1 merge request
!17
Resolve "Build dependencies from POC"
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+6
-4
6 additions, 4 deletions
Dockerfile
dev.yml
+1
-5
1 addition, 5 deletions
dev.yml
with
7 additions
and
9 deletions
Dockerfile
+
6
−
4
View file @
a0033939
...
...
@@ -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
This diff is collapsed.
Click to expand it.
dev.yml
+
1
−
5
View file @
a0033939
version
:
"
3.3"
services
:
devserver
:
httpd
:
build
:
context
:
.
target
:
mirador
...
...
@@ -15,10 +15,6 @@ services:
volumes
:
-
./:/opt
httpd
:
ports
:
-
$PORT:80
annotot
:
ports
:
-
${ANNOTOT_PORT}:3000
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