mirror of
https://github.com/believethehype/nostdress.git
synced 2026-07-05 15:38:10 -07:00
Merge pull request #5 from fishcakeday/update-dockerfile-dependencies
Update dockerfile dependencies
This commit is contained in:
+5
-3
@@ -1,15 +1,17 @@
|
||||
FROM golang:1.16.0-alpine AS builder
|
||||
FROM golang:1.20-alpine AS builder
|
||||
|
||||
WORKDIR /opt/buid
|
||||
|
||||
COPY ./*.go ./*.html ./go.mod ./go.sum ./
|
||||
COPY static ./static
|
||||
|
||||
RUN apk add gcc musl-dev linux-headers
|
||||
RUN apk update && \
|
||||
apk upgrade --available && \
|
||||
apk add gcc musl-dev linux-headers
|
||||
RUN go get
|
||||
RUN go build
|
||||
|
||||
FROM alpine:3.14
|
||||
FROM alpine:3.17
|
||||
|
||||
ENV PORT=17422
|
||||
ENV DOMAIN=satdress.com
|
||||
|
||||
Reference in New Issue
Block a user