Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio Dockerizing #31

Closed
SAgiKPJH opened this issue Apr 23, 2024 · 3 comments
Closed

Visual Studio Dockerizing #31

SAgiKPJH opened this issue Apr 23, 2024 · 3 comments
Assignees

Comments

@SAgiKPJH
Copy link
Contributor

SAgiKPJH commented Apr 23, 2024

Add DockerFile

  • 프로젝트 > Add > Docker 파일
    • image
  • Docker File Option > Target OS 선택
    • image
    • image

Run

  • 디버깅 하듯이 실행하면 알아서 됩니다.
    • image
  • 첫 실행 시 다운로드
    • image
  • 실행이 되는 화면
    • image
  • 결과 확인
    image
@SAgiKPJH SAgiKPJH self-assigned this Apr 23, 2024
@SAgiKPJH
Copy link
Contributor Author

SAgiKPJH commented Apr 23, 2024

Postgre 실험

  • Project
    • image
  • Dockerfile
FROM postgres:latest

ENV POSTGRES_USER=postgres
ENV POSTGRES_PASSWORD=P@ss0rd
ENV POSTGRES_DB=ImageHandlerServiceDB

EXPOSE 5432
CMD ["postgres"]

@SAgiKPJH
Copy link
Contributor Author

Docker compose

image
image

@SAgiKPJH
Copy link
Contributor Author

LuanchSetting.json

  • docker 파일이 생성되면, LuanchSettings.json 파일이 생깁니다.
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant