mirror of
https://github.com/iritmaximus/compilers.git
synced 2026-10-12 19:13:35 +03:00
Remove rust, embrace scala
This commit is contained in:
-19
@@ -1,19 +0,0 @@
|
||||
FROM rust:slim AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
WORKDIR /app/compiler
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
CMD ["cargo", "run", "--release"]
|
||||
|
||||
|
||||
FROM debian:12-slim AS runner
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/compiler/target/release/compiler .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["./compiler", "serve", "'<placeholder>'"]
|
||||
Reference in New Issue
Block a user