Skip to content

Commit 0111f18

Browse files
committed
add step to copy version.json to the image
1 parent 263e01f commit 0111f18

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
FROM node:14-slim
22

3+
WORKDIR /app
4+
35
# Install dependencies, but don't generate lock files as we want to always fetch
46
# the lastest @mdn/browser-compat-data package.
57
COPY package.json ./
68
RUN npm install --no-package-lock && \
7-
npm cache clear --force
9+
npm cache clear --force
810

9-
# Copy the script
11+
# copy sources
1012
COPY update_remote_settings_records.mjs ./
13+
COPY ./version.json ./
1114

12-
# And run it
15+
# set CMD
1316
CMD ["npm", "run", "ingest"]
14-

version.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)