Update Dockerfile

This commit is contained in:
Lorenzo Venerandi
2024-12-14 15:39:56 +01:00
parent 2200f0ddf6
commit 74a6dbf19b

View File

@@ -48,5 +48,4 @@ RUN mkdir /app
WORKDIR /app WORKDIR /app
# Install go dependencies, build the wasm module, push it to the registry # Install go dependencies, build the wasm module, push it to the registry
#CMD ["sh", "-c", "go mod download && go mod verify && go mod tidy && wash build && wash push $REGISTRY build/*_s.wasm"] CMD ["sh", "-c", "go env -w GOFLAGS=-buildvcs=false && go mod download && go mod verify && wash build && wash push $REGISTRY build/*.wasm"]
CMD ["sh", "-c", "go env -w GOFLAGS=-buildvcs=false && go mod download && go mod verify && wash build && wash push $REGISTRY build/*_s.wasm"]