mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 11:40:27 +03:00
4afa513dce
docker-compose build && docker-compose up
13 lines
318 B
Docker
13 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
|