Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammedKpln committed Oct 14, 2024
1 parent d8ba972 commit de41420
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.23.1-bookworm as pluginBuilder
FROM golang:1.23.1-bookworm AS pluginbuilder
WORKDIR /app
COPY . .
RUN go mod download
ENV ENV=PRODUCTION
RUN bash -c /app/scripts/compile_plugins.sh

FROM golang:1.23.1-bookworm as serverBuilder
FROM golang:1.23.1-bookworm AS serverbuilder
WORKDIR /app
COPY . .
RUN go mod download
Expand All @@ -14,9 +14,9 @@ RUN go build --trimpath -o /fedai main.go
FROM debian:stable AS server
WORKDIR /app
RUN apt update && apt install -y ffmpeg
COPY --from=serverBuilder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=serverBuilder /fedai .
COPY --from=serverBuilder /app/scripts/start.sh .
COPY --from=pluginBuilder /app/pl/* ./pl/*
COPY --from=serverbuilder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=serverbuilder /fedai .
COPY --from=serverbuilder /app/scripts/start.sh .
COPY --from=pluginbuilder /app/pl/* ./pl/*

CMD [ "/fedai" ]

0 comments on commit de41420

Please sign in to comment.