mirror of
https://github.com/github/gitignore.git
synced 2026-08-30 19:57:03 +02:00
BootCamp WorkOut
Remote Evangelist
This commit is contained in:
parent
9929053533
commit
2929698137
25
.dockerignore
Normal file
25
.dockerignore
Normal 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
15
Dockerfile
Normal 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
8
compose.debug.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
services:
|
||||
gitignoretemplework:
|
||||
image: gitignoretemplework
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
ports:
|
||||
- 3000:3000
|
||||
8
compose.yaml
Normal file
8
compose.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
services:
|
||||
gitignoretemplework:
|
||||
image: gitignoretemplework
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
ports:
|
||||
- 3000:3000
|
||||
Loading…
Reference in New Issue
Block a user