1
0
Fork 0
This repository has been archived on 2025-03-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compiler-course/Dockerfile

13 lines
350 B
Text
Raw Permalink Normal View History

FROM rust AS builder
WORKDIR /home/vili/School/Compilers/compiler-course
COPY . .
RUN cargo install --path .
FROM debian:stable-slim
RUN apt-get update && apt-get install -y libc6 gcc && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/compiler-course /usr/local/bin/compiler-course
COPY . .
EXPOSE 3000
CMD ["compiler-course"]