Browse Source

add ca-certificates and fix readme

master
bn4t 8 months ago
parent
commit
479554806d
2 changed files with 2 additions and 3 deletions
  1. +2
    -2
      Dockerfile
  2. +0
    -1
      README.md

+ 2
- 2
Dockerfile View File

@@ -1,6 +1,6 @@
FROM golang:alpine as builder

RUN mkdir /build /out && apk add --no-cache git
RUN mkdir /build /out && apk add --no-cache git ca-certificates

WORKDIR /build
COPY . .
@@ -12,7 +12,7 @@ RUN go get && go build -o /out/pleroma-release-bot

FROM alpine:latest

RUN mkdir /app && addgroup -S pleroma-bot && adduser -S pleroma-bot -G pleroma-bot
RUN mkdir /app && addgroup -S pleroma-bot && adduser -S pleroma-bot -G pleroma-bot && apk add --no-cache ca-certificates
COPY --from=builder /out/pleroma-release-bot /app/pleroma-release-bot
USER pleroma-bot



+ 0
- 1
README.md View File

@@ -9,7 +9,6 @@
1. Clone the repository and enter the directory: `git clone https://git.bn4t.me/bn4t/pleroma-release-bot.git
&& cd pleroma-release-bot`
2. Edit the environment variables in `docker-compose.yml`

3. Build the image and start the container: `docker-compose up --build -d`




Loading…
Cancel
Save