gateway ref

This commit is contained in:
cheykrym 2026-03-18 07:36:54 +03:00
parent ecdb12f75e
commit ba6cf7e637

View File

@ -12,9 +12,6 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o gateway ./cmd/gateway/main.go
FROM alpine:latest
ARG HOST_SSL_GROUP_GID=1005
RUN addgroup -g ${HOST_SSL_GROUP_GID} yobble-ssl-cert
RUN adduser -D -s /bin/sh -G yobble-ssl-cert server
WORKDIR /app
@ -23,8 +20,5 @@ COPY ./configs /app/configs
COPY ./geodb /app/geodb
COPY ./.env /app/
RUN chown -R server:yobble-ssl-cert /app
USER server
EXPOSE 5150
CMD ["/app/gateway"]