few path changes and added fix from master

This commit is contained in:
2022-11-12 19:59:08 -06:00
parent 353bd97481
commit 7cb1f683b2
52 changed files with 70 additions and 110 deletions

View File

@ -1,7 +1,7 @@
FROM golang:1.19-alpine AS build
FROM golang:1.18-alpine AS build
WORKDIR /Activity-Relay
COPY . /Activity-Relay
COPY ./app /Activity-Relay
RUN mkdir -p /rootfs/usr/bin && \
apk add -U --no-cache git && \
@ -9,6 +9,9 @@ RUN mkdir -p /rootfs/usr/bin && \
FROM alpine
COPY ./actor.pem /var/lib/relay/
COPY --from=build /rootfs/usr/bin /usr/bin
RUN chmod +x /usr/bin/relay && \
apk add -U --no-cache ca-certificates
EXPOSE 8080