CJVT updates August and September 2026
This commit is contained in:
+7
-4
@@ -1,16 +1,18 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
# Use the non-alpine base image for easier container debugging.
|
||||
# FROM node:14
|
||||
FROM node:16-alpine
|
||||
# FROM node:24.18.0-bookworm
|
||||
FROM node:24.18.0-alpine3.24
|
||||
|
||||
# Curl is used in cron batch file.
|
||||
RUN apk --no-cache add curl
|
||||
|
||||
# TODO: consider running as a non-root USER (both here and in Dockerfile.prod).
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json .
|
||||
RUN npm install
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
@@ -20,6 +22,7 @@ RUN which crond && \
|
||||
chmod 0744 scheduled/entrypoint.sh
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 9229
|
||||
|
||||
# Use devstart-wait if you need code execution to pause until a debugger is attached.
|
||||
# CMD ["npm", "run", "devstart-wait"]
|
||||
|
||||
Reference in New Issue
Block a user