Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PLV2_supply_chain_poc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Dominik Heinrich
PLV2_supply_chain_poc
Commits
8ac9c23e
Commit
8ac9c23e
authored
3 weeks ago
by
David Horvát
Browse files
Options
Downloads
Patches
Plain Diff
moved and pkg build web
parent
b096bd7e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web.Dockerfile
+21
-0
21 additions, 0 deletions
web.Dockerfile
with
21 additions
and
0 deletions
Dockerfile
→
web.
Dockerfile
+
21
−
0
View file @
8ac9c23e
#FROM rust:latest
#
#COPY ./btc_miner ./btc_miner
#WORKDIR ./btc_miner
FROM
archlinux:latest
as
packager
RUN
pacman-key
--init
RUN
tar
czt
RUN
repo-add ./files/customrepo.db.tar.gz ./files/
*
.pkg.tar.zst
FROM
nginx:mainline-alpine-slim
RUN
apk update
&&
apk upgrade
# copy files
WORKDIR
/home/webserver
COPY
./nginx.conf /etc/nginx/
COPY
./files
/home/webserver/repo
COPY
--from=packager /files/customrepo.db.tar.gz
/home/webserver/repo
# expose and run
EXPOSE
8080
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