4 Commits

Author SHA1 Message Date
b479bdefa4 test
All checks were successful
Build and Push Docker Images / build-and-push-backend (push) Successful in 7s
Build and Push Docker Images / build-and-push-frontend (push) Successful in 15s
2026-01-31 01:45:23 +01:00
0112b35eee test
All checks were successful
Build and Push Docker Images / build-and-push-backend (push) Successful in 6s
Build and Push Docker Images / build-and-push-frontend (push) Successful in 15s
2026-01-31 01:42:18 +01:00
7b90cac1d1 fix: path
All checks were successful
Build and Push Docker Images / build-and-push-backend (push) Successful in 7s
Build and Push Docker Images / build-and-push-frontend (push) Successful in 14s
2026-01-31 01:38:56 +01:00
894a6f01c2 fix: add gcc
All checks were successful
Build and Push Docker Images / build-and-push-backend (push) Successful in 1m4s
Build and Push Docker Images / build-and-push-frontend (push) Successful in 6s
2026-01-31 01:32:32 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ WORKDIR /app
# Copy go.mod and go.sum files to download dependencies
COPY go.mod go.sum ./
# Install the C compiler (gcc) and other build tools needed for CGO
RUN apk add --no-cache build-base
RUN go mod download
# Copy the rest of the application source code

View File

@@ -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
# 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/frontend /usr/share/nginx/html
COPY --from=builder /app/dist/frontend/. /usr/share/nginx/html
# Expose port 80 for the web server
EXPOSE 80