Skip to content

Commit 9bab7ea

Browse files
authoredJan 10, 2025··
1 parent c94590c commit 9bab7ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:alpine as backend
1+
FROM rust:alpine AS backend
22
WORKDIR /home/rust/src
33
RUN apk --no-cache add musl-dev openssl-dev protoc
44
RUN rustup component add rustfmt
@@ -8,7 +8,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
88
cargo build --release --bin sshx-server && \
99
cp target/release/sshx-server /usr/local/bin
1010

11-
FROM node:lts-alpine as frontend
11+
FROM node:lts-alpine AS frontend
1212
RUN apk --no-cache add git
1313
WORKDIR /usr/src/app
1414
COPY . .

0 commit comments

Comments
 (0)