mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
using a second Dockerfile, and the prevous Makefile changes to share the precompile step. git-binary.yaml temporarily set for ci-streamline branch and is in a "dry run" form.
13 lines
267 B
Docker
13 lines
267 B
Docker
FROM golang:bookworm AS final
|
|
ARG TARGETARCH
|
|
|
|
COPY ./dist/notray-e2ee_linux_${TARGETARCH}* /opt/jfa-go
|
|
COPY ./build/data /opt/jfa-go/data
|
|
|
|
RUN apt-get update -y && apt-get install libolm-dev -y
|
|
|
|
EXPOSE 8056
|
|
EXPOSE 8057
|
|
|
|
CMD [ "/opt/jfa-go/jfa-go", "-data", "/data" ]
|