test/Dockerfile.srv
2018-12-24 14:59:39 +01:00

7 lines
205 B
Text

FROM scratch
ADD db /db
RUN echo -e "root:x:0:0:root:/:\nappuser:x:1000:1000:appuser:/:" > /etc/passwd
RUN echo -e "root:x:0:root\nappuser:x:1000:" > /etc/group
USER appuser
EXPOSE 8080
ENTRYPOINT ["/db"]