mirror of
https://github.com/github/gitignore.git
synced 2026-11-06 10:00:40 +01:00
BootCamp WorkOut
Remote Evangelist
This commit is contained in:
1 parent
9929053533
commit
2929698137
4 files changed
+56
No files matched your search
@@ -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
@@ -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
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
services:
|
||||||
|
gitignoretemplework:
|
||||||
|
image: gitignoretemplework
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./Dockerfile
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
services:
|
||||||
|
gitignoretemplework:
|
||||||
|
image: gitignoretemplework
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./Dockerfile
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
Reference in new issue
Block a user