diff --git a/Dockerfile b/Dockerfile index eadeb59..892013c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # Get Go image from DockerHub. -FROM golang:1.16.6 AS api +FROM golang:1.20 AS api # Set working directory. WORKDIR /compiler # Copy dependency locks so we can cache. -COPY go.mod go.sum . +COPY go.mod go.sum ./ # Get all of our dependencies. RUN go mod download diff --git a/docker-compose.yml b/docker-compose.yml index 8596224..99d70ea 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: image: mariadb:10.6.3 restart: always volumes: - - ./scripts/migrations.sql:/docker-entrypoint-initdb.d/1.sql + - ./scripts/billMigrations.sql:/docker-entrypoint-initdb.d/1.sql expose: - 3306 environment: