fix the API build for the docker

This commit is contained in:
ngn 2024-07-24 01:19:49 +03:00
parent e948701d27
commit bd030d3756

View File

@ -9,13 +9,13 @@ COPY Makefile ./
COPY routes ./routes
COPY util ./util
EXPOSE 7001
RUN make
EXPOSE 7001
RUN go build
ARG PASSWORD
ENV PASSWORD $PASSWORD
ARG FRONTEND_URL
ARG FRONTEND_URL
ENV FRONTEND_URL $FRONTEND_URL
ENTRYPOINT ["/app/server"]