aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/docker/Dockerfile-backend5
-rw-r--r--Dockerfile2
2 files changed, 3 insertions, 4 deletions
diff --git a/.github/docker/Dockerfile-backend b/.github/docker/Dockerfile-backend
index 06036e4..82ed29f 100644
--- a/.github/docker/Dockerfile-backend
+++ b/.github/docker/Dockerfile-backend
@@ -11,8 +11,7 @@ WORKDIR /caronte
COPY . ./
-RUN export VERSION=$(git describe --tags --abbrev=0) && \
- go mod download && \
- go build -ldflags "-X main.Version=$VERSION"
+RUN go mod download && \
+ go build
ENTRYPOINT go test -v -race -covermode=atomic
diff --git a/Dockerfile b/Dockerfile
index 4fb71a3..0573a6c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,7 +27,7 @@ WORKDIR /caronte-frontend
COPY ./frontend ./
-RUN yarnpkg install && yarnpkg build --production=true
+RUN yarn install && yarn build --production=true
# LAST STAGE