Skip to content

Commit 912cbd8

Browse files
lakhansamanisiddharthlatest
authored andcommitted
fix: docker file (#42)
change CMD -> ENTRYPOINT add shared-docker volume path creation
1 parent afb53dc commit 912cbd8

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,16 @@ RUN make
4040
# Final stage: Create the running container
4141
FROM alpine:3.10.1 AS final
4242

43+
# Get ca certs, for making api calls
44+
RUN apk add --no-cache ca-certificates
45+
46+
47+
# Create env folder
48+
RUN mkdir /arc-data && touch /arc-data/.env && chmod 777 /arc-data/.env
49+
4350
# Import the compiled executable from the first stage.
4451
COPY --from=builder /arc /arc
4552
WORKDIR /arc
4653

4754
EXPOSE 8000
48-
CMD ["build/arc", "--log", "stdout", "--plugins"]
55+
ENTRYPOINT ["build/arc", "--log", "stdout", "--plugins"]

0 commit comments

Comments
 (0)