Skip to content

Commit

Permalink
Add appwrite config in dockerfile (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh3305 authored Jun 9, 2023
1 parent f07772d commit f7377b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ FROM openjdk:19
ARG JAR_FILE=build/libs/Backend-Auth-0.0.1-SNAPSHOT.jar
ARG MONGODB_URI=mongodb://localhost:27017
ARG KAFKA_URL=localhost:9092
ARG APPWRITE_ENDPOINT=http://localhost/v1
ARG APPWRITE_PROJECT_ID=PROJECT_ID
ENV MONGODB_URI=$MONGODB_URI
ENV APPLICATION_PORT 8082
ENV KAFKA_URL=$KAFKA_URL
ENV APPWRITE_ENDPOINT=$APPWRITE_ENDPOINT
ENV APPWRITE_PROJECT_ID=$APPWRITE_PROJECT_ID
EXPOSE 8082
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

0 comments on commit f7377b8

Please sign in to comment.