Fix Dockerfile.aws including static files

This commit is contained in:
Andrea Fazzi 2020-03-02 14:42:08 +01:00
parent a6aaa74a20
commit 60809e7413

View file

@ -32,7 +32,17 @@ COPY --from=builder /src/oef/oef /src/oef/oef
# Copy config file # Copy config file
COPY --from=builder /src/oef/config/config.yaml /src/oef/config/config.yaml COPY --from=builder /src/oef/config/config.yaml /src/oef/config/config.yaml
# Copy templates
COPY --from=builder /src/oef/templates /src/oef/templates
# Copy dist
COPY --from=builder /src/oef/dist /src/oef/dist
# Copy VERSION file
COPY --from=builder /src/oef/VERSION /src/oef/VERSION
WORKDIR /src/oef/ WORKDIR /src/oef/
# Run the oef binary. # Run the oef binary.
ENTRYPOINT ["/src/oef/oef"] ENTRYPOINT ["/src/oef/oef"]