Skip to content

Commit d39e8ea

Browse files
committed
try configuring the arch for npm so hopefully sharp installs correctly
1 parent 1c3afdb commit d39e8ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.tasks-build

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ COPY tasks /srv/tasks
2727
COPY api /srv/api
2828

2929
WORKDIR /srv/api
30-
RUN npm install
30+
RUN npm install --arch=x64 --platform=linux --libc=glibc sharp
3131
WORKDIR /srv/tasks
32-
RUN npm install
32+
RUN npm install --arch=x64 --platform=linux --libc=glibc sharp
3333

3434
CMD [ "node", "/srv/tasks/index.js" ]

0 commit comments

Comments
 (0)