Fix Dockerfile and Makefile
This commit is contained in:
@@ -36,9 +36,7 @@ COPY ./internal/auth/*.go ./internal/auth/
|
||||
COPY ./internal/session/*.go ./internal/session/
|
||||
COPY ./internal/passwords/*.go ./internal/passwords/
|
||||
COPY ./internal/webmention/*.go ./internal/webmention/
|
||||
COPY ./types/*.go ./types/
|
||||
COPY ./types/retwt/*.go ./types/retwt/
|
||||
COPY ./cmd/twtd/*.go ./cmd/twtd/
|
||||
COPY ./cmd/spyda/*.go ./cmd/spyda/
|
||||
|
||||
# Version/Commit (there there is no .git in Docker build context)
|
||||
# NOTE: This is fairly low down in the Dockerfile instructions so
|
||||
@@ -62,7 +60,7 @@ VOLUME /data
|
||||
# force cgo resolver
|
||||
ENV GODEBUG=netdns=cgo
|
||||
|
||||
COPY --from=build /src/twtd /twtd
|
||||
COPY --from=build /src/spyda /spyda
|
||||
|
||||
ENTRYPOINT ["/twtd"]
|
||||
ENTRYPOINT ["/spyda"]
|
||||
CMD [""]
|
||||
|
||||
Reference in New Issue
Block a user