snapshot of https://github.com/centrifugal/centrifugo.git (master, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM alpine:3.24
|
||||
|
||||
ARG USER=centrifugo
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
|
||||
RUN addgroup -S -g $GID $USER && \
|
||||
adduser -S -G $USER -u $UID $USER
|
||||
|
||||
RUN apk --no-cache upgrade && \
|
||||
apk --no-cache add ca-certificates && \
|
||||
update-ca-certificates
|
||||
|
||||
USER $USER
|
||||
|
||||
WORKDIR /centrifugo
|
||||
|
||||
COPY centrifugo /usr/local/bin/centrifugo
|
||||
|
||||
CMD ["centrifugo"]
|
||||
Reference in New Issue
Block a user