Skip to content

Commit e9b35c2

Browse files
authored
Merge pull request #53 from michaelcoll/fix/dockerfile
fix(Dockerfile): Remove copy command
2 parents e9ccecc + 9183f0a commit e9b35c2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
with:
2323
node-version: 18.x
2424

25+
- name: Set up Docker Buildx
26+
uses: docker/setup-buildx-action@v2
27+
2528
- name: Prepare Vue App
2629
run: |
2730
make prepare
@@ -42,3 +45,6 @@ jobs:
4245

4346
- name: Web ESLint
4447
run: make vue-lint
48+
49+
- name: Build docker image
50+
run: make build-docker

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ARG REVISION
77

88
WORKDIR /go/src/app
99
COPY . .
10-
COPY --from=build-node /node/src/internal/web/dist /go/src/app/internal/web/dist
1110

1211
RUN go mod download
1312
RUN CGO_ENABLED=0 go build -o /go/bin/gallery-web -ldflags="-s -w -X 'github.com/michaelcoll/gallery-web/cmd.version=$VERSION'"

0 commit comments

Comments
 (0)