mirror of
https://github.com/SourceFellows/gobuch.git
synced 2025-07-21 07:30:44 +02:00
initial import
This commit is contained in:
7
microservices/container/Dockerfile
Normal file
7
microservices/container/Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM golang:latest
|
||||
|
||||
COPY main.go /app/main.go
|
||||
WORKDIR /app
|
||||
RUN go build main.go
|
||||
|
||||
CMD [ "/app/main"]
|
6
microservices/container/README.md
Normal file
6
microservices/container/README.md
Normal file
@ -0,0 +1,6 @@
|
||||
# Ausführen
|
||||
|
||||
```
|
||||
docker build -t microservice-buch .
|
||||
docker run microservice-buch
|
||||
```
|
7
microservices/container/main.go
Normal file
7
microservices/container/main.go
Normal file
@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello World!")
|
||||
}
|
Reference in New Issue
Block a user