Skip to content

Commit 23188b4

Browse files
committedSep 17, 2023
Fix issues with rev-parse HEAD breaking in Docker
1 parent f5a3653 commit 23188b4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Needed for .dockerignore
2-
**/.git
31
/.vscode
42

53
/target

‎Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ COPY . .
66
RUN cargo build --release --bin sshx-server
77

88
FROM node:lts-alpine as frontend
9+
RUN apk --no-cache add git
910
WORKDIR /usr/src/app
1011
COPY . .
1112
RUN npm ci

0 commit comments

Comments
 (0)
Please sign in to comment.