FROM alpine

COPY . /pufferpanel/
RUN ls -l /pufferpanel/
RUN echo '{}' > /pufferpanel/config.json

ENV PATH "/pufferpanel:${PATH}"
EXPOSE 8080

CMD ["pufferpanel"]
FROM debian:10-slim

COPY pufferpanel /pufferpanel/
COPY client/dist /pufferpanel/client/dist/
RUN echo '{}' > /pufferpanel/config.json

ENV PATH "/pufferpanel:${PATH}"
EXPOSE 8080

CMD ["pufferpanel"]
Switch base image Alpine doesn't handle libc the same as ubuntu, so when we build on ubuntu, we can't reuse that image
Switch base image
Alpine doesn't handle libc the same as ubuntu, so when we build on ubuntu, we can't reuse that image
