Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c8920df87e | |||
| eceb5da520 |
@@ -1,5 +1,5 @@
|
|||||||
# Stage 1: Build the Go application
|
# Stage 1: Build the Go application
|
||||||
FROM golang:1.22-alpine AS builder
|
FROM golang:1.25-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|||||||
|
|
||||||
# Copy the built application from the builder stage to Nginx's web root directory
|
# Copy the built application from the builder stage to Nginx's web root directory
|
||||||
# I am assuming the project name is 'dashboard'. If not, you may need to change the path 'dist/dashboard/browser'.
|
# I am assuming the project name is 'dashboard'. If not, you may need to change the path 'dist/dashboard/browser'.
|
||||||
COPY --from=builder /app/dist/dashboard/browser /usr/share/nginx/html
|
COPY --from=builder /app/dist/frontend /usr/share/nginx/html
|
||||||
|
|
||||||
# Expose port 80 for the web server
|
# Expose port 80 for the web server
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "npm@11.6.2",
|
"packageManager": "npm@11.6.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "^21.1.0",
|
||||||
"@angular/cdk": "~21.1.2",
|
"@angular/cdk": "~21.1.2",
|
||||||
"@angular/common": "^21.1.0",
|
"@angular/common": "^21.1.0",
|
||||||
"@angular/compiler": "^21.1.0",
|
"@angular/compiler": "^21.1.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user