17 lines
463 B
Docker
17 lines
463 B
Docker
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" ]
|