FROM nginx:stable-alpine

RUN apk update && apk upgrade

WORKDIR /liquidity.party/web
COPY out ./out
RUN sed -i '1idaemon off;' /etc/nginx/nginx.conf
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf

CMD ["nginx"]
