Fixes in building Docker image
This commit is contained in:
@@ -22,7 +22,6 @@ COPY --from=builder $BIN_OUTPUT /app
|
||||
COPY --from=builder /go/bin/migrate /bin/migrate
|
||||
COPY deploy/.env.docker /.env
|
||||
COPY ./bin /bin
|
||||
# COPY deploy/certs /certs
|
||||
|
||||
RUN chmod 755 /bin/entrypoint.sh /bin/migrate.sh
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ API_CACHE_ADDR=api-cache:6379
|
||||
API_CACHE_USERNAME=default
|
||||
API_CACHE_PASSWORD=12345678
|
||||
API_MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
|
||||
# EVENTBUS_URL=amqp://guest:guest@api-eventbus:5672
|
||||
|
||||
JWT_ACCESS_TOKEN_SECRET_KEY=SomeFancySecretAndRandomString
|
||||
JWT_ACCESS_TOKEN_EXPIRE_TIME=1 # hours
|
||||
|
||||
@@ -5,7 +5,6 @@ export IMAGE_PREFIX="git.ego.freeddns.org/egommerce/identity"
|
||||
export BUILDER_IMAGE="egommerce-builder:identity"
|
||||
export BUILD_TIME=$(date +"%Y%m%d%H%M%S")
|
||||
export SERVER_IMAGE="$IMAGE_PREFIX-svc"
|
||||
# export DOCKER_BUILDKIT=1
|
||||
|
||||
TARGET=${1:-latest}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user