Skip to content

Commit

Permalink
Match casing of FROM and AS (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhang authored Jan 10, 2025
1 parent c94590c commit 9bab7ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:alpine as backend
FROM rust:alpine AS backend
WORKDIR /home/rust/src
RUN apk --no-cache add musl-dev openssl-dev protoc
RUN rustup component add rustfmt
Expand All @@ -8,7 +8,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
cargo build --release --bin sshx-server && \
cp target/release/sshx-server /usr/local/bin

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

0 comments on commit 9bab7ea

Please sign in to comment.