/
remive
/
b2b
Обзор
Документация
Войти
/
remive
/
b2b
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
restapi-go/src/Dockerfile
19 строк
386 B
MikhailCloud
first_commit
28 фев 2024, 07:00
28 фев 2024, 07:00
48b2cad
Код
Авторство
О чём код?
# Dockerfile References: https://docs.docker.com/engine/reference/builder/ # Start from the latest golang base image FROM golang:latest # Set the Current Working Directory inside the container WORKDIR /app # Add files to app folder ADD . /app # Build the Go app RUN go build -o main . # Expose ports to the outside world EXPOSE 8080 # Command to run the executable CMD ["./main"]