Deleted dockfile on backend

This commit is contained in:
Patrick Alvin Alcala 2025-11-25 17:10:25 +08:00
parent 2748bbc4a6
commit a49c4a2304
2 changed files with 0 additions and 24 deletions

View file

@ -1,15 +0,0 @@
FROM golang:1.25.4 AS build
ENV GIN_MODE=release
ENV PORT=4320
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN GOOS=linux GOARCH=amd64 GOAMD64=v1 go build -pgo=auto -ldflags="-s -w" -o /bin/esign-server main.go
FROM alpine:latest
WORKDIR /app
COPY --from=build /bin/esign-server ./server
EXPOSE $PORT
CMD ["./server"]

View file

@ -1,9 +0,0 @@
services:
e-sign-server:
container_name: e-sign-server
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
ports:
- 4320:4320