nyanimedb/Dockerfiles/Dockerfile_server
nihonium 1784187e64
Some checks failed
Build and Deploy Go App / build (push) Failing after 9m56s
Build and Deploy Go App / deploy (push) Has been skipped
fix: server Dockerfile app path
2025-10-08 19:25:25 +03:00

20 lines
No EOL
465 B
Text

FROM ubuntu:22.04
WORKDIR /app
COPY --chmod=755 modules/server/nyanimedb /app
COPY modules/server/templates /app/templates
EXPOSE 8080
ENTRYPOINT ["/app/nyanimedb"]
# FROM golang:1.25 AS builder
# ARG VERSION=dev
# WORKDIR /go/src/app
# COPY main.go .
# RUN go build -o main -ldflags=-X=main.version=${VERSION} main.go
# FROM debian:buster-slim
# COPY --from=builder /go/src/app/main /go/bin/main
# ENV PATH="/go/bin:${PATH}"
# CMD ["main"]