mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
Separate the docker image
This commit is contained in:
+2
-4
@@ -1,8 +1,6 @@
|
||||
FROM golang:1.19.3-alpine
|
||||
FROM alpine:latest
|
||||
WORKDIR /gothub
|
||||
COPY . .
|
||||
RUN go mod download
|
||||
RUN go build .
|
||||
COPY ./gothub .
|
||||
CMD ["/bin/sh", "-c", "./gothub"]
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user