Dockerfile, CONF_NS and fix sqlite3 under alpine

This commit is contained in:
2022-11-20 03:41:38 +01:00
parent 0d3526221d
commit 516809cd02
3 changed files with 34 additions and 8 deletions

15
server/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM alpine:latest
RUN apk update
RUN apk add --no-cache libc6-compat tzdata ca-certificates sqlite
COPY _build/scn_backend /app/scnserver
COPY DOCKER_GIT_INFO /app/DOCKER_GIT_INFO
RUN mkdir /data
WORKDIR /app
EXPOSE 80
CMD ["/app/scnserver"]