go-crm initial

This commit is contained in:
2026-04-21 17:34:58 -03:00
parent 5b8107c169
commit f8135d0e1b
24 changed files with 641 additions and 125 deletions

26
apps/go-crm/Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
FROM archlinux:latest
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm \
go \
git \
sqlite \
curl \
&& pacman -Scc --noconfirm
WORKDIR /tmp
RUN curl -sSL https://github.com/air-verse/air/releases/download/v1.27.10/air_1.27.10_linux_amd64.tar.gz | tar -xz && \
chmod +x air && \
mv air /usr/local/bin/air
WORKDIR /workspace/apps/go-crm
COPY go.mod go.sum ./
RUN go mod download
COPY . .
EXPOSE 8080
CMD ["air"]