mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
To get changelogs shown with Renovate a docker container has to add the source label described in the OCI Image Format Specification. For reference: https://github.com/renovatebot/renovate/blob/main/lib/modules/datasource/docker/readme.md
25 lines
518 B
Docker
25 lines
518 B
Docker
FROM node:lts-bookworm
|
|
LABEL maintainer="Coderaiser"
|
|
LABEL org.opencontainers.image.source="https://github.com/coderaiser/cloudcmd"
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package.json /usr/src/app/
|
|
|
|
RUN npm config set package-lock false && \
|
|
npm install --production && \
|
|
npm i gritty && \
|
|
npm cache clean --force
|
|
|
|
COPY . /usr/src/app
|
|
|
|
WORKDIR /
|
|
|
|
ENV cloudcmd_terminal=true
|
|
ENV cloudcmd_terminal_path=gritty
|
|
ENV cloudcmd_open=false
|
|
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT ["/usr/src/app/bin/cloudcmd.mjs"]
|