skip to Main Content

docker compose build: failed to solve: changes out of order

dockerfile FROM openjdk:alpine ARG JAR_FILE=target/*.jar COPY ./target/diplomAPI-0.0.1-SNAPSHOT.jar app.jar ENTRYPOINT ["java", "-jar", "/app.jar"] docker-compose.yml version: '3' services: app: build: context: . dockerfile: Dockerfile ports: - "8080:8080" depends_on: - db db: image: postgres restart: always ports: - "5432:5432" environment: POSTGRES_DB: mobilka POSTGRES_USER:…

VIEW QUESTION

Docker Lambda Image: Could not find or load main class com.amazonaws.services.lambda.runtime.api.client.AWSLambda

I built a Docker Lambda Image using the following DockerFile FROM registry.access.redhat.com/ubi8/ubi:8.1 as base RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm RUN yum update -y RUN yum install -y sudo bash curl wget man-db nano bash-completion RUN yum install -y java-11-openjdk-devel RUN…

VIEW QUESTION
Back To Top
Search