Add docker support

This commit is contained in:
yoan
2024-08-27 23:32:10 +08:00
parent 76e6b9f20c
commit 8c684e3233
2 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:20-alpine as build-ui
WORKDIR /app
@@ -11,6 +11,7 @@ FROM golang:1.22-alpine
WORKDIR /app
COPY ../. /app/
COPY from=build-ui /app/ui/dist /app/ui/
RUN go build -o certimate