skip to Main Content

do not understand EXPOSE command Dockerfile

i really do not understand the following command in Dockerfile EXPOSE 8080 I built a java application and dockerized it via this Dockerfile FROM openjdk:10-jre-slim WORKDIR /app COPY ./target/display-console-1.0-SNAPSHOT.jar /app CMD ["java", "-jar", "display-console-1.0-SNAPSHOT.jar"] My java application got a controller…

VIEW QUESTION

No connections to mssql in docker compose

I have two containers that run via docker-compose, my docker-compose looks like this version: "3.7" services: mssql: build: ./Db ports: - 1433:1433 planning-poker: build: . restart: always env_file: - env.list ports: - 80:8080 depends_on: - mssql Dockerfile go-app: FROM golang:latest…

VIEW QUESTION
Back To Top
Search