This commit is contained in:
2025-07-03 20:08:27 -05:00
parent 7bde7e60c9
commit c5bbd1694e
4 changed files with 48 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM ubuntu:latest AS builder
WORKDIR /src
RUN apt update -y && apt install -y gcc
COPY main.c main.c
RUN gcc -o main main.c
FROM ubuntu:latest
WORKDIR /
COPY --from=builder /src/main /usr/local/bin/main