BootCamp WorkOut

Remote Evangelist
This commit is contained in:
Wattsupjosh 2025-09-24 14:31:46 -05:00
parent 9929053533
commit 2929698137
4 changed files with 56 additions and 0 deletions

25
.dockerignore Normal file
View File

@ -0,0 +1,25 @@
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/bin
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
#build stage
FROM golang:alpine AS builder
RUN apk add --no-cache git
WORKDIR /go/src/app
COPY . .
RUN go get -d -v ./...
RUN go build -o /go/bin/app -v ./...
#final stage
FROM alpine:latest
RUN apk --no-cache add ca-certificates
COPY --from=builder /go/bin/app /app
ENTRYPOINT ["/app"]
LABEL Name=gitignoretemplework Version=0.0.1
EXPOSE 3000

8
compose.debug.yaml Normal file
View File

@ -0,0 +1,8 @@
services:
gitignoretemplework:
image: gitignoretemplework
build:
context: .
dockerfile: ./Dockerfile
ports:
- 3000:3000

8
compose.yaml Normal file
View File

@ -0,0 +1,8 @@
services:
gitignoretemplework:
image: gitignoretemplework
build:
context: .
dockerfile: ./Dockerfile
ports:
- 3000:3000