|
|
@ -1,12 +1,13 @@ |
|
|
FROM scratch |
|
|
FROM alpine |
|
|
|
|
|
|
|
|
LABEL maintainer="Max Schmitt <max@schmitt.mx>" |
|
|
LABEL maintainer="Max Schmitt <max@schmitt.mx>" |
|
|
LABEL readme.md="https://github.com/maxibanki/golang-url-shortener/blob/master/README.md" |
|
|
LABEL readme.md="https://github.com/maxibanki/golang-url-shortener/blob/master/README.md" |
|
|
LABEL description="This Dockerfile will install the Golang URL Shortener." |
|
|
LABEL description="This Dockerfile will install the Golang URL Shortener." |
|
|
|
|
|
|
|
|
|
|
|
RUN apk update && apk add ca-certificates |
|
|
|
|
|
|
|
|
EXPOSE 8080 |
|
|
EXPOSE 8080 |
|
|
|
|
|
|
|
|
COPY ca-certificates.crt /etc/ssl/certs/ |
|
|
|
|
|
COPY docker_releases/golang-url-shortener_linux_amd64/golang-url-shortener / |
|
|
COPY docker_releases/golang-url-shortener_linux_amd64/golang-url-shortener / |
|
|
|
|
|
|
|
|
VOLUME ["/data"] |
|
|
VOLUME ["/data"] |
|
|
|