This commit is contained in:
yoan 2024-10-21 07:34:33 +08:00
parent 0037659462
commit 0095600615
5 changed files with 6 additions and 675 deletions

View File

@ -9,6 +9,7 @@ RUN \
npm install && \ npm install && \
npm run build npm run build
FROM golang:1.22-alpine AS builder FROM golang:1.22-alpine AS builder
WORKDIR /app WORKDIR /app
@ -16,10 +17,13 @@ WORKDIR /app
COPY ../. /app/ COPY ../. /app/
RUN rm -rf /app/ui/dist RUN rm -rf /app/ui/dist
COPY --from=front-builder /app/ui/dist /app/ui/dist COPY --from=front-builder /app/ui/dist /app/ui/dist
RUN go build -o certimate RUN go build -o certimate
FROM alpine:latest FROM alpine:latest
WORKDIR /app WORKDIR /app

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

15
ui/dist/index.html vendored
View File

@ -1,15 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Certimate - Your Trusted SSL Automation Partner</title>
<script type="module" crossorigin src="/assets/index-BYO3zdEX.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-YqBWA4KK.css">
</head>
<body class="bg-background">
<div id="root"></div>
</body>
</html>

View File

@ -1 +1 @@
export const version = "Certimate v0.2.4"; export const version = "Certimate v0.2.5";