mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
fix: adjust from boilerplate to lti project
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user