fix: adjust from boilerplate to lti project

This commit is contained in:
Hafizh A. Y
2025-09-25 11:08:01 +07:00
parent 10506238ae
commit c136206f2d
36 changed files with 76 additions and 118 deletions
+4 -4
View File
@@ -3,7 +3,7 @@ FROM golang:1.23-alpine AS builder
# Install tools build
RUN apk add --no-cache git curl bash build-base
WORKDIR /golang-boilerplate
WORKDIR /lti-api
# Cache dependencies
COPY go.mod go.sum ./
@@ -20,13 +20,13 @@ FROM alpine:3.20
# Install tools
RUN apk add --no-cache curl
WORKDIR /golang-boilerplate
WORKDIR /lti-api
# Copy binary hasil build
COPY --from=builder /golang-boilerplate/app .
COPY --from=builder /lti-api/app .
# Copy file env example
COPY --from=builder /golang-boilerplate/.env.example .env
COPY --from=builder /lti-api/.env.example .env
EXPOSE 8080