From dd2fc3fad78beba233119fbc79f29d3282ea8b09 Mon Sep 17 00:00:00 2001 From: nefrace Date: Wed, 9 Nov 2022 02:02:12 +0300 Subject: [PATCH] Updated go image version for Docker --- Dockerfile | 4 ++-- docker-compose.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 05a9401..5772715 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" \ No newline at end of file +CMD "/kicker" diff --git a/docker-compose.yml b/docker-compose.yml index 67eef0c..120b496 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: \ No newline at end of file + mongoconfig: