Something something like soundcloud but not like soundcloud.
Log in, upload records, done.
Simple, easy, KISS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile-web 838B

12345678910111213141516171819202122232425262728293031
  1. # vim:set ft=dockerfile:
  2. FROM python:3.6-alpine
  3. LABEL maintainer="Dashie <dashie@sigpipe.me>"
  4. LABEL org.label-schema.license=MIT \
  5. org.label-schema.name=reel2bits-web \
  6. org.label-schema.vcs-url=https://dev.sigpipe.me/dashie/reel2bits \
  7. org.label-schema.build-date=$DRONE_BUILD_STARTED \
  8. org.label-schema.vcs-ref=$DRONE_COMMIT_SHA
  9. RUN mkdir -p /app /data /config
  10. WORKDIR /app
  11. ADD requirements.txt /app/
  12. RUN apk add --no-cache git libffi sox taglib libmagic tzdata libmad boost libsndfile libid3tag
  13. RUN apk add --no-cache --virtual .build-deps gcc g++ libffi-dev postgresql-dev
  14. RUN pip install --no-cache-dir -r requirements.txt
  15. RUN apk del .build-deps
  16. ADD . /app/
  17. ADD entrypoint.sh /
  18. ADD config.py.sample /config/config.py
  19. VOLUME ["/data", "/config"]
  20. EXPOSE 5000
  21. ENTRYPOINT ["/entrypoint.sh"]
  22. CMD ["flask", "run"]