feat(semaphore): import

This commit is contained in:
chris 2023-01-23 01:22:04 +01:00
parent 40053c9b0d
commit 3fbceb76fc
Signed by: chris
GPG Key ID: 75EFC7666CF51AD6
1 changed files with 15 additions and 0 deletions

15
semaphore/Containerfile Normal file
View File

@ -0,0 +1,15 @@
FROM reg.zknt.org/zknt/node:18
ENV VERSION 1.0.0
RUN set -xe;\
curl -LO https://github.com/NickColley/semaphore/archive/refs/tags/${VERSION}.tar.gz &&\
mkdir /app &&\
tar --strip-components=1 -C /app -xvzf ${VERSION}.tar.gz &&\
cd /app &&\
yarn --production --pure-lockfile &&\
yarn build
EXPOSE 8080
WORKDIR /app
ENTRYPOINT PORT=8080 node server.js