Make docker container ready for final submission
This commit is contained in:
parent
3b4e3d92fb
commit
dc5c5940ef
2 changed files with 25 additions and 0 deletions
|
@ -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"]
|
||||
|
||||
|
|
Reference in a new issue