mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-09 00:54:20 +00:00
ci/cd: update release pipelines (#541)
This commit is contained in:
committed by
Elias Schneider
parent
f8a7467ec0
commit
35b227cd17
20
Dockerfile-prebuilt
Normal file
20
Dockerfile-prebuilt
Normal file
@@ -0,0 +1,20 @@
|
||||
# This Dockerfile embeds a pre-built binary for the given Linux architecture
|
||||
# Binaries must be built using ./scripts/development/build-binaries.sh first
|
||||
|
||||
FROM alpine
|
||||
|
||||
# TARGETARCH can be "amd64" or "arm64"
|
||||
ARG TARGETARCH=""
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add --no-cache curl su-exec
|
||||
|
||||
COPY ./backend/.bin/pocket-id-linux-${TARGETARCH} /app/pocket-id
|
||||
COPY ./scripts/docker /app/docker
|
||||
|
||||
EXPOSE 1411
|
||||
ENV APP_ENV=production
|
||||
|
||||
ENTRYPOINT ["/app/docker/entrypoint.sh"]
|
||||
CMD ["/app/pocket-id"]
|
||||
Reference in New Issue
Block a user