Files
go-api-template/Dockerfile

12 lines
250 B
Docker

FROM scratch
#FROM alpine
# Copy in the binary and settings file
COPY goInventorize-linux-amd64 /
ENV PORT=3000
# Export necessary port.
EXPOSE 3000
# Command to run when starting the container.
ENTRYPOINT ["/goInventorize-linux-amd64"]