Skip to content

Commit

Permalink
feat :: aws cli 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSu1768 committed Feb 13, 2024
1 parent 8a32cea commit 0bbd934
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM openjdk:17
FROM openjdk:17-alpine

RUN apk add --no-cache curl py-pip \
&& pip install --upgrade pip \
&& pip install awscli

ARG JAR_FILE=./build/libs/*.jar
COPY ${JAR_FILE} application.jar

RUN apt-get update && \
apt-get install -y awscli

EXPOSE 8080
ENTRYPOINT ["java", "-jar", "application.jar"]
ENTRYPOINT ["java", "-jar", "application.jar"]

0 comments on commit 0bbd934

Please sign in to comment.