fix: resolve heredoc parsing error in deploy-oci Makefile target
All checks were successful
Deploy to OCI / deploy (push) Successful in 51s
All checks were successful
Deploy to OCI / deploy (push) Successful in 51s
Extract inline Dockerfile to Dockerfile.oci and scp it instead of generating it via heredoc over SSH. Make's line-continuation backslash was causing the heredoc delimiter to be parsed as 'DEOFnFROM' by the remote shell, breaking the image build step.
This commit was merged in pull request #7.
This commit is contained in:
9
Dockerfile.oci
Normal file
9
Dockerfile.oci
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM alpine:3.21
|
||||
RUN apk add --no-cache git ca-certificates
|
||||
WORKDIR /app
|
||||
COPY repo-vis-server ./
|
||||
COPY dist ./web/dist/
|
||||
ENV PORT=8080
|
||||
ENV FRONTEND_DIR=./web/dist
|
||||
EXPOSE 8080
|
||||
CMD ["./repo-vis-server"]
|
||||
Reference in New Issue
Block a user