dev: use node:22-slim local
This commit is contained in:
1 parent
22f6fe3490
commit
935e32c166
1 file changed
+9
-9
+9
-9
@@ -1,9 +1,9 @@
|
||||
# Dev environment: serves public/ with BrowserSync + content-edits API (port 4175)
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build:pages
|
||||
EXPOSE 4175
|
||||
CMD ["npm", "run", "serve"]
|
||||
# Dev environment: serves public/ with BrowserSync + content-edits API (port 4175)
|
||||
FROM node:22-slim
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build:pages
|
||||
EXPOSE 4175
|
||||
CMD ["npm", "run", "serve"]
|
||||
Reference in new issue
Block a user