nginx update
Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 5s
Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 5s
This commit is contained in:
@@ -19,6 +19,9 @@ RUN npm run build
|
|||||||
# Stage 2: Serve the app using Nginx
|
# Stage 2: Serve the app using Nginx
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
# Copy custom Nginx configuration
|
||||||
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
# Copy build artifacts to Nginx's web root
|
# Copy build artifacts to Nginx's web root
|
||||||
COPY --from=build /app/build /usr/share/nginx/html
|
COPY --from=build /app/build /usr/share/nginx/html
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user