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
85d695b9
Commit
85d695b9
authored
4 weeks ago
by
Thomas Schauer-Köckeis
Browse files
Options
Downloads
Patches
Plain Diff
Added web server
parent
afc74e6d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+10
-0
10 additions, 0 deletions
Dockerfile
docker-compose.yaml
+5
-0
5 additions, 0 deletions
docker-compose.yaml
nginx.conf
+17
-0
17 additions, 0 deletions
nginx.conf
with
32 additions
and
0 deletions
Dockerfile
0 → 100644
+
10
−
0
View file @
85d695b9
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
# expose and run
EXPOSE
8080
This diff is collapsed.
Click to expand it.
docker-compose.yaml
0 → 100644
+
5
−
0
View file @
85d695b9
services
:
website
:
build
:
.
ports
:
-
8080:8080
This diff is collapsed.
Click to expand it.
nginx.conf
0 → 100644
+
17
−
0
View file @
85d695b9
events
{}
http
{
include
mime.types
;
default_type
application/octet-stream
;
server
{
listen
8080
;
server_name
localhost
;
root
/home/webserver/repo/
;
location
/
{
satisfy
any
;
add_header
Access-Control-Allow-Origin
*
;
}
}
}
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