mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
19 lines
481 B
Text
19 lines
481 B
Text
|
FROM node:alpine
|
||
|
|
||
|
# Also exposing VSCode debug ports
|
||
|
EXPOSE 8000 9929 9230
|
||
|
|
||
|
RUN \
|
||
|
apk add --no-cache python make g++ && \
|
||
|
apk add vips-dev fftw-dev --update-cache \
|
||
|
--repository http://dl-3.alpinelinux.org/alpine/edge/community \
|
||
|
--repository http://dl-3.alpinelinux.org/alpine/edge/main \
|
||
|
&& rm -fR /var/cache/apk/*
|
||
|
|
||
|
RUN npm install -g gatsby-cli
|
||
|
|
||
|
WORKDIR /app
|
||
|
COPY ./package.json .
|
||
|
RUN yarn install && yarn cache clean
|
||
|
COPY . .
|
||
|
CMD ["yarn", "develop", "-H", "0.0.0.0" ]
|