Updated go image version for Docker
This commit is contained in:
parent
a64c173c1a
commit
dd2fc3fad7
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.14.3-alpine AS build
|
FROM golang:1.19.3-alpine AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ./go.mod go.mod
|
COPY ./go.mod go.mod
|
||||||
COPY ./go.sum go.sum
|
COPY ./go.sum go.sum
|
||||||
|
@ -9,4 +9,4 @@ RUN go build -o /out/kicker
|
||||||
FROM alpine:3.14 AS bin
|
FROM alpine:3.14 AS bin
|
||||||
COPY ./assets /assets
|
COPY ./assets /assets
|
||||||
COPY --from=build /out/kicker /
|
COPY --from=build /out/kicker /
|
||||||
CMD "/kicker"
|
CMD "/kicker"
|
||||||
|
|
|
@ -15,7 +15,7 @@ services:
|
||||||
env_file:
|
env_file:
|
||||||
- mongo.env
|
- mongo.env
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:28001:27017
|
- 127.0.0.1:28002:27017
|
||||||
volumes:
|
volumes:
|
||||||
- mongodata:/data/db
|
- mongodata:/data/db
|
||||||
- mongoconfig:/data/configdb
|
- mongoconfig:/data/configdb
|
||||||
|
@ -24,10 +24,10 @@ services:
|
||||||
image: mongo-express
|
image: mongo-express
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8089:8081
|
- 127.0.0.1:8088:8081
|
||||||
env_file:
|
env_file:
|
||||||
- mongo.env
|
- mongo.env
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mongodata:
|
mongodata:
|
||||||
mongoconfig:
|
mongoconfig:
|
||||||
|
|
Loading…
Reference in New Issue