Compare commits
2 Commits
v0.0.1-dev
...
v0.0.3-dev
| Author | SHA1 | Date | |
|---|---|---|---|
| edefba7e32 | |||
| 6fb1118da0 |
@@ -42,8 +42,6 @@ jobs:
|
||||
run: |
|
||||
echo "Current directory is $PWD"
|
||||
ls -al
|
||||
echo "Target:"
|
||||
ls -al target
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
|
||||
+3
-2
@@ -1,4 +1,4 @@
|
||||
FROM golang:alpine as backend-builder
|
||||
FROM golang:alpine AS backend-builder
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
|
||||
@@ -9,9 +9,10 @@ RUN apk add --no-cache upx
|
||||
RUN upx --best --lzma bin/server
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk add --no-cache onnxruntime
|
||||
COPY --from=backend-builder /build/bin/server /app/server
|
||||
COPY static /app/static
|
||||
COPY static/*.so /app/
|
||||
WORKDIR /app
|
||||
EXPOSE 8080
|
||||
RUN ls -a
|
||||
CMD ["./server"]
|
||||
Binary file not shown.
Reference in New Issue
Block a user