Skip to content

Commit 125f063

Browse files
committed
pfft of course I totally knew that lol
Issue mendhak#45
1 parent a4078ed commit 125f063

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

Dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
FROM node:16-alpine AS build
22

3-
LABEL \
4-
org.opencontainers.image.title="http-https-echo" \
5-
org.opencontainers.image.description="Docker image that echoes request data as JSON; listens on HTTP/S, with various extra features, useful for debugging." \
6-
org.opencontainers.image.url="https://github.com/mendhak/docker-http-https-echo" \
7-
org.opencontainers.image.documentation="https://github.com/mendhak/docker-http-https-echo/blob/master/README.md" \
8-
org.opencontainers.image.source="https://github.com/mendhak/docker-http-https-echo" \
9-
org.opencontainers.image.licenses="MIT"
10-
113
WORKDIR /app
124
COPY . /app
135

@@ -26,6 +18,13 @@ RUN set -ex \
2618
&& chmod +r /app/privkey.pem
2719

2820
FROM node:16-alpine AS final
21+
LABEL \
22+
org.opencontainers.image.title="http-https-echo" \
23+
org.opencontainers.image.description="Docker image that echoes request data as JSON; listens on HTTP/S, with various extra features, useful for debugging." \
24+
org.opencontainers.image.url="https://github.com/mendhak/docker-http-https-echo" \
25+
org.opencontainers.image.documentation="https://github.com/mendhak/docker-http-https-echo/blob/master/README.md" \
26+
org.opencontainers.image.source="https://github.com/mendhak/docker-http-https-echo" \
27+
org.opencontainers.image.licenses="MIT"
2928
WORKDIR /app
3029
COPY --from=build /app /app
3130
ENV HTTP_PORT=8080 HTTPS_PORT=8443

0 commit comments

Comments
 (0)