fix: update nginx config path in frontend Dockerfile

corrected the path for copying nginx.conf in the frontend Dockerfile to point to the correct location relative to the build context

 Changes to be committed:
	modified:   .gitea/workflows/masterbuild.yml
	modified:   epistine-webserver/frontend/Dockerfile
This commit is contained in:
2026-02-14 01:15:44 +07:00
parent f9d609f6e0
commit f421cafe36
2 changed files with 5 additions and 5 deletions

View File

@@ -109,7 +109,7 @@ jobs:
- name: Build & Push epistine-webserver-frontend
uses: docker/build-push-action@v5
with:
context: ./epistine-webserver/frontend
context: ./epistine-webserver
file: ./epistine-webserver/frontend/Dockerfile
push: true
tags: |

View File

@@ -1,12 +1,12 @@
FROM node:18-alpine as builder
FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json ./
COPY frontend/package*.json ./
RUN npm ci
COPY . .
COPY frontend/ ./
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/build /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]