Compare commits

...

2 Commits
v0.2.0 ... main

Author SHA1 Message Date
chris 3fbceb76fc
feat(semaphore): import 2023-01-23 01:22:04 +01:00
chris 40053c9b0d
chore(alpine): bump 3.17.1 2023-01-09 17:17:29 +01:00
2 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,4 @@
ARG VERSION=3.17.0
ARG VERSION=3.17.1
FROM alpine as build
ARG VERSION

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