use nginx for docker image
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -43,6 +43,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: christopherhx/gitea-download-artifact@v4
|
||||
with:
|
||||
name: build
|
||||
- name: Log in to Docker Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
||||
@@ -4,4 +4,5 @@ WORKDIR /app
|
||||
|
||||
COPY ./dist .
|
||||
|
||||
CMD ["nginx", "-g", "daemon off; "]
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
@@ -2,5 +2,5 @@ services:
|
||||
monitor-im-flur:
|
||||
image: git.rivercry.com/wg/monitor-im-flur:latest
|
||||
ports:
|
||||
- "9123:5173"
|
||||
- "9123:80"
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user