mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-21 21:05:05 +00:00
4afa513dce
docker-compose build && docker-compose up
12 lines
318 B
Docker
12 lines
318 B
Docker
FROM alpine
|
|
ENV LANG C.UTF-8
|
|
ENV LC_ALL C.UTF-8
|
|
RUN apk add --no-cache curl-dev build-base
|
|
COPY . /build
|
|
WORKDIR /build
|
|
RUN make
|
|
COPY examples/docker-entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
|
ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]
|
|
EXPOSE 8001
|
|
CMD /build/snac
|