Skip to content

Commit

Permalink
Fix issues with rev-parse HEAD breaking in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhang committed Sep 17, 2023
1 parent f5a3653 commit 23188b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Needed for .dockerignore
**/.git
/.vscode

/target
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ COPY . .
RUN cargo build --release --bin sshx-server

FROM node:lts-alpine as frontend
RUN apk --no-cache add git
WORKDIR /usr/src/app
COPY . .
RUN npm ci
Expand Down

0 comments on commit 23188b4

Please sign in to comment.