ticker-docker-aio/Dockerfile

18 lines
463 B
Text
Raw Normal View History

2024-08-01 23:06:48 +02:00
FROM alpine
RUN apk add nginx libc6-compat gcompat sqlite
# believe or not, this is what the official image does
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
COPY ticker-web.conf /etc/nginx/http.d/default.conf
COPY ticker-admin/dist /var/www/admin
COPY ticker-frontend/dist /var/www/frontend
COPY ticker/ticker /ticker-bin
WORKDIR /ticker
CMD [ "sh", "-c", "nginx; /ticker-bin run --config /config.yml" ]