shelfy/Dockerfile.dev

16 lines
409 B
Docker
Raw Normal View History

2025-06-17 20:05:00 +00:00
FROM golang:1.24-bullseye
2025-06-06 09:55:54 +00:00
# Installer ffmpeg et air
RUN apt-get update && \
apt-get install -y ffmpeg curl && \
curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b /usr/local/bin && \
apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
# Lancer Air avec le bon chemin
CMD ["air", "-c", ".air.toml"]