Updated go image version for Docker

This commit is contained in:
nefrace 2022-11-09 02:02:12 +03:00
parent a64c173c1a
commit dd2fc3fad7
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.14.3-alpine AS build
FROM golang:1.19.3-alpine AS build
WORKDIR /src
COPY ./go.mod go.mod
COPY ./go.sum go.sum
@ -9,4 +9,4 @@ RUN go build -o /out/kicker
FROM alpine:3.14 AS bin
COPY ./assets /assets
COPY --from=build /out/kicker /
CMD "/kicker"
CMD "/kicker"

View File

@ -15,7 +15,7 @@ services:
env_file:
- mongo.env
ports:
- 127.0.0.1:28001:27017
- 127.0.0.1:28002:27017
volumes:
- mongodata:/data/db
- mongoconfig:/data/configdb
@ -24,10 +24,10 @@ services:
image: mongo-express
restart: always
ports:
- 127.0.0.1:8089:8081
- 127.0.0.1:8088:8081
env_file:
- mongo.env
volumes:
mongodata:
mongoconfig:
mongoconfig: