-
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module github.com/shpota/goxygen | ||
|
||
go 1.20 | ||
go 1.21 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
FROM node:16.18.1-alpine3.16 AS JS_BUILD | ||
FROM node:16.20-alpine3.18 AS JS_BUILD | ||
COPY webapp /webapp | ||
WORKDIR /webapp | ||
RUN npm install && npm run build | ||
|
||
FROM golang:1.20-alpine3.16 AS GO_BUILD | ||
FROM golang:1.21.1-alpine3.18 AS GO_BUILD | ||
RUN apk update && apk add build-base | ||
COPY server /server | ||
WORKDIR /server | ||
RUN go build -o /go/bin/server | ||
|
||
FROM alpine:3.16.3 | ||
FROM alpine:3.18.3 | ||
COPY --from=JS_BUILD /webapp/build* ./webapp/ | ||
COPY --from=GO_BUILD /go/bin/server ./ | ||
CMD ./server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module project-name | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
require go.mongodb.org/mongo-driver v1.12.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
FROM node:16.18.1-alpine3.16 AS JS_BUILD | ||
FROM node:16.20-alpine3.18 AS JS_BUILD | ||
COPY webapp /webapp | ||
WORKDIR /webapp | ||
RUN npm install && npm run build | ||
|
||
FROM golang:1.20-alpine3.16 AS GO_BUILD | ||
FROM golang:1.21.1-alpine3.18 AS GO_BUILD | ||
COPY server /server | ||
WORKDIR /server | ||
RUN go build -o /go/bin/server | ||
|
||
FROM alpine:3.16.3 | ||
FROM alpine:3.18.3 | ||
COPY --from=JS_BUILD /webapp/build* ./webapp/ | ||
COPY --from=GO_BUILD /go/bin/server ./ | ||
CMD ./server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module project-name | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
require github.com/go-sql-driver/mysql v1.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
FROM node:16.18.1-alpine3.16 AS JS_BUILD | ||
FROM node:16.20-alpine3.18 AS JS_BUILD | ||
COPY webapp /webapp | ||
WORKDIR /webapp | ||
RUN npm install && npm run build | ||
|
||
FROM golang:1.20-alpine3.16 AS GO_BUILD | ||
FROM golang:1.21.1-alpine3.18 AS GO_BUILD | ||
COPY server /server | ||
WORKDIR /server | ||
RUN go build -o /go/bin/server | ||
|
||
FROM alpine:3.16.3 | ||
FROM alpine:3.18.3 | ||
COPY --from=JS_BUILD /webapp/build* ./webapp/ | ||
COPY --from=GO_BUILD /go/bin/server ./ | ||
CMD ./server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module project-name | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
require github.com/lib/pq v1.10.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module github.com/shpota/goxygen/transform | ||
|
||
go 1.20 | ||
go 1.21 |