mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 09:05:55 +00:00
* attempt at fixing dockerfile that works with yarn workspaces and respects yarn.lock * run corepack yarn * update Dockerfile references * remove unneccesary yarn plugin import * Apply suggestions from code review Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
15 lines
297 B
Text
15 lines
297 B
Text
FROM node:16.13.0-alpine
|
|
|
|
COPY package.json /app/package.json
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apk --update add --virtual native-dep \
|
|
make gcc g++ python3 libgcc libstdc++ git && \
|
|
corepack yarn install && \
|
|
apk del native-dep
|
|
RUN apk add bash
|
|
|
|
COPY . /app
|
|
RUN npm install -g nodemon
|
|
CMD ["npm","test"]
|