Open danmcnulty opened 5 years ago
I only use docker for build and run the prod version. Here is mine dockerfile:
FROM node:10.15.3 as source
WORKDIR /src/progression-framework
COPY package.json ./
RUN npm install
COPY . ./
RUN rm -rf node_modules/sharp
RUN npm install --arch=x64 --platform=linux --target=10.15.3 sharp
RUN npm run build
The error caused by the sharp module. This version only runs at Windows OS. Need to change a linux specific one.
Some other dependencies need to update to a fresher version, that's why the many warnings, but the application still runs with these.
Hi, We're trying to set this up within our CI system by creating an image which contains just the build tool, so a subsequent CI step can run the image using a volume containing our code.
Whenever we run yarn we receive a number of warnings such as these:
Do you use Docker for development at all, and if so do you have a working Dockerfile which you could share? Thanks