Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
flood-ui
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Janne Mareike Koschinski
flood-ui
Commits
68b0a0c5
Verified
Commit
68b0a0c5
authored
4 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+17
-0
17 additions, 0 deletions
Dockerfile
Makefile
+15
-0
15 additions, 0 deletions
Makefile
with
32 additions
and
0 deletions
Dockerfile
0 → 100644
+
17
−
0
View file @
68b0a0c5
FROM
node:alpine
AS
builder
RUN
apk add
--no-cache
git python build-base
RUN
git clone https://github.com/Flood-UI/flood/ /flood-ui
WORKDIR
/flood-ui
RUN
npm
install
RUN
cp
config.docker.js config.js
RUN
npm run build
RUN
npm prune
--production
FROM
node:alpine
RUN
apk
--no-cache
add mediainfo
COPY
--from=builder /flood-ui /flood-ui
EXPOSE
3000
VOLUME
["/data"]
ENTRYPOINT
["npm", "start"]
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
15
−
0
View file @
68b0a0c5
IMAGE
:=
k8r.eu/justjanne/
$(
shell
basename
$(
shell git remote get-url origin
)
.git
)
TAGS
:=
$(
shell git describe
--always
--tags
HEAD
)
.PHONY
:
build
build
:
docker build
--pull
-t
$(
IMAGE
)
:
$(
TAGS
)
.
docker tag
$(
IMAGE
)
:
$(
TAGS
)
$(
IMAGE
)
:latest
@
echo
Successfully tagged
$(
IMAGE
)
:
$(
TAGS
)
as latest
.PHONY
:
push
push
:
build
docker push
$(
IMAGE
)
:
$(
TAGS
)
docker push
$(
IMAGE
)
:latest
@
echo
Successfully pushed
$(
IMAGE
)
:
$(
TAGS
)
as latest
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