few path changes and added fix from master
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user