Browse Source

Fixup docker files

master
2577 1 year ago
parent
commit
31094886ba
  1. 3
      Dockerfile
  2. 1
      docker-compose.yml

3
Dockerfile

@ -12,9 +12,8 @@ FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=builder /src/feed /feed
COPY static /
COPY static/* /static/
COPY index.html /
RUN mkdir /data
VOLUME /data
ENTRYPOINT ["/feed"]

1
docker-compose.yml

@ -10,5 +10,6 @@ feed:
- /opt/feed:/data
environment:
- FEED_DB_PATH=/data/feed.db
- FEED_TOKEN=<random-token>
- FEED_CUSTOMER_KEY=<random-key>
- FEED_ACCESS_TOKEN=<random-token>

Loading…
Cancel
Save