Skip to content

Commit

Permalink
:add docker file for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwupark committed Feb 2, 2024
1 parent aae1b71 commit db5aa34
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM openjdk:17-alpine
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} app_auth.jar
ENTRYPOINT ["java","-jar","/app_auth.jar"]
18 changes: 18 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: '3'
services:
web:
container_name: service
image: sunwupark/meme-service
expose:
- 8080
ports:
- "8080:8080"

auth:
container_name: auth
image: sunwupark/meme-auth
expose:
- 8081
ports:
- "8081:8081"

0 comments on commit db5aa34

Please sign in to comment.