Created Turnpike, event attendee and volunteer management
Built after prototype, Traverse, an attendee and volunteer list maintainer.
This commit is contained in:
commit
5d56ba8112
59 changed files with 8663 additions and 0 deletions
19
Dockerfile
Normal file
19
Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
FROM node:22-alpine AS frontend
|
||||
WORKDIR /app/frontend
|
||||
COPY frontend/package*.json ./
|
||||
RUN npm ci
|
||||
COPY frontend/ ./
|
||||
RUN npm run build
|
||||
|
||||
FROM golang:1.24-alpine AS backend
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY --from=frontend /app/frontend/dist ./frontend/dist
|
||||
COPY *.go ./
|
||||
RUN CGO_ENABLED=0 go build -o turnpike .
|
||||
|
||||
FROM scratch
|
||||
COPY --from=backend /app/turnpike /turnpike
|
||||
EXPOSE 8180
|
||||
ENTRYPOINT ["/turnpike"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue