We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 734c655 commit f7974c2Copy full SHA for f7974c2
Dockerfile
@@ -1,6 +1,6 @@
1
# DEPENDENCIES
2
# fabric-shim needs node ^18.0.0
3
-FROM node:18.20.1-bullseye AS build
+FROM golang:1.22.2-bullseye AS build
4
5
RUN --mount=type=cache,sharing=locked,target=/var/cache/apt \
6
export DEBIAN_FRONTEND=noninteractive \
@@ -14,10 +14,11 @@ COPY --chmod=0777 ./ .
14
15
RUN git config --global user.email "hello@settlemint.com" && \
16
git config --global user.name "SettleMint" && \
17
- pushd ./src && \
18
- go mod vendor && \
19
- popd && \
20
- rm -Rf Dockerfile .dockerignore .github
+ rm -Rf Dockerfile .dockerignore .github
+
+# Install go dependencies
+WORKDIR /usecase/src
21
+RUN go mod vendor
22
23
USER root
24
0 commit comments