Skip to content

Commit

Permalink
fix(infra): add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed Sep 30, 2023
1 parent 038fccc commit d7fb712
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ jobs:
- name: Build
working-directory: frontend
run: npm run build
- name: Copy Frontend distributable
run: cp -r frontend/dist src/main/resources
- name: Install dependencies
run: go get .
- name: Build
Expand Down
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM golang:1.21

LABEL authors="bjornurban"
EXPOSE 8080:8080

RUN mkdir /kubevoyage
RUN mkdir /kubevoyage/bin
COPY public /kubevoyage/public
COPY build /kubevoyage/bin
ENTRYPOINT ["./bin/kubevoyage"]

0 comments on commit d7fb712

Please sign in to comment.