Animations - added opacity animation for experience page - added stagger animation for navbar items on mobile - added animation for landing page for years and language indications Pages - About Page mockup Redesign - Navbar to include icons on desktop
17 lines
397 B
Docker
17 lines
397 B
Docker
# Build.
|
|
FROM golang:1.24.0 AS build-stage
|
|
WORKDIR /app
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
COPY . /app
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -o ./entrypoint
|
|
|
|
# Deploy.
|
|
FROM gcr.io/distroless/static-debian11 AS release-stage
|
|
WORKDIR /
|
|
COPY --from=build-stage /app/entrypoint /entrypoint
|
|
COPY --from=build-stage /app/assets /assets
|
|
EXPOSE 8080
|
|
USER nonroot:nonroot
|
|
ENTRYPOINT ["/entrypoint"]
|