1
0
Fork 0

Make docker container ready for final submission

This commit is contained in:
Vili Sinervä 2025-02-26 19:29:14 +02:00
parent 3b4e3d92fb
commit dc5c5940ef
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
2 changed files with 25 additions and 0 deletions

View file

@ -6,6 +6,7 @@ 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"]