Skip to content

Commit

Permalink
added dockerfile for doc-store-api
Browse files Browse the repository at this point in the history
  • Loading branch information
KrawMire committed Dec 30, 2023
1 parent 1b295ba commit 37e056f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions doc-store-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM golang:1.20
WORKDIR /app

COPY go.mod ./
RUN go mod download

COPY . .
RUN go build -o /doc-store-api ./cmd

ARG OBJ_STOR_BASE_URL
ENV OBJ_STOR_BASE_URL=$OBJ_STOR_BASE_URL

ARG OBJ_STOR_REGION
ENV OBJ_STOR_REGION=$OBJ_STOR_REGION

ARG OBJ_STOR_KEYID
ENV OBJ_STOR_KEYID=$OBJ_STOR_KEYID

ARG OBJ_STOR_KEY
ENV OBJ_STOR_KEY=$OBJ_STOR_KEY

ARG OBJ_STOR_BUCKET_NAME
ENV OBJ_STOR_BUCKET_NAME=$OBJ_STOR_BUCKET_NAME

EXPOSE 4200
CMD ["/tg-bot-api"]

0 comments on commit 37e056f

Please sign in to comment.