diff options
author | terminaldweller <thabogre@gmail.com> | 2022-04-15 07:19:10 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-04-15 07:19:10 +0000 |
commit | dd0060af59bc182466398fb63090bfeb8878d104 (patch) | |
tree | c42d7af2f6af86776bc5c5d8116adbdcba004c39 /telebot | |
parent | added some security headers (diff) | |
download | hived-dd0060af59bc182466398fb63090bfeb8878d104.tar.gz hived-dd0060af59bc182466398fb63090bfeb8878d104.zip |
was using node image for self-signed certificates
Diffstat (limited to 'telebot')
-rw-r--r-- | telebot/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telebot/Dockerfile b/telebot/Dockerfile index 134d6a5..d038ba2 100644 --- a/telebot/Dockerfile +++ b/telebot/Dockerfile @@ -7,7 +7,7 @@ RUN cd /telebot && go mod download COPY *.go /telebot/ RUN cd /telebot && go build -FROM node:lts-alpine3.13 as certbuilder +FROM alpine:3.15 as certbuilder RUN apk add openssl WORKDIR /certs RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert |