jank-client-fork/Dockerfile
Jon Lawrence 58590a56ea Dockerfile now named correctly
Dockerfile is now named correctly, and pulls from the local repository/directory instead of pulling the image from github.
2025-03-07 14:07:14 -08:00

18 lines
337 B
Docker

FROM node:18-bullseye AS builder
WORKDIR /devel
RUN apt-get update ; apt-get upgrade -y ; apt-get install -y build-essential
COPY . .
RUN npm i ; npm run build
FROM node:18-alpine
EXPOSE 8080
WORKDIR /exec
RUN apk add --update nodejs npm
COPY --from=builder /devel/ .
RUN adduser -D jankclient
USER jankclient
CMD ["npm", "start"]