mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-22 14:22:33 +01:00
15 lines
No EOL
323 B
Docker
15 lines
No EOL
323 B
Docker
FROM node:11-alpine
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
COPY . .
|
|
RUN apk update && apk upgrade \
|
|
&& apk --no-cache add --virtual builds-deps build-base python \
|
|
&& yarn add node-gyp node-pre-gyp
|
|
RUN yarn install --production=true
|
|
RUN yarn global add webpack
|
|
RUN yarn build
|
|
|
|
EXPOSE 3001
|
|
|
|
CMD ["npm", "start"] |