jlelse
/
kis3
Archived
1
Fork 0

Change place of executable in Docker image

This commit is contained in:
Jan-Lukas Else 2019-04-08 22:14:20 +02:00
parent edf6cc32f2
commit c9df3dfe9d
1 changed files with 3 additions and 3 deletions

View File

@ -14,11 +14,11 @@ RUN go build kis3.dev/kis3
FROM alpine:3.9
RUN adduser -S -D -H -h /app kis3
COPY --from=build /app/kis3 /app/
RUN chown -R kis3 /app
COPY --from=build /app/kis3 /bin/
RUN mkdir /app && chown -R kis3 /app
USER kis3
WORKDIR /app
RUN mkdir data
VOLUME ["/app/data"]
EXPOSE 8080
CMD ["./kis3"]
CMD ["kis3"]