vector-im-hydrogen-web/Dockerfile-dev

13 lines
291 B
Plaintext
Raw Normal View History

FROM docker.io/node:alpine
2021-09-30 04:31:39 +02:00
RUN apk add --no-cache git python3 build-base
WORKDIR /code
# Copy package.json and yarn.lock and install dependencies first to speed up subsequent builds
COPY package.json yarn.lock /code/
RUN yarn install
COPY . /code
EXPOSE 3000
ENTRYPOINT ["yarn", "start"]