Commit 921e0d14 authored by 魏灿's avatar 魏灿

dockerfile fix

parent 422e5242
...@@ -8,6 +8,8 @@ ARG TARGETBINARY ...@@ -8,6 +8,8 @@ ARG TARGETBINARY
WORKDIR /app WORKDIR /app
COPY ./dist/$TARGETBINARY-$TARGETOS-$TARGETARCH /app/$TARGETBINARY COPY ./dist/$TARGETBINARY-$TARGETOS-$TARGETARCH /app/$TARGETBINARY
RUN apt-get update
RUN apt-get -y install ansible
EXPOSE 80 EXPOSE 80
ENTRYPOINT ["/app/so-operation-api", "--port=80", "--prefix=/v1/api"] ENTRYPOINT ["/app/so-operation-api", "--port=80", "--prefix=/v1/api"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment