vector-im-hydrogen-web/Dockerfile-dev
2023-01-11 18:55:28 +00:00

13 lines
291 B
Plaintext

FROM docker.io/node:alpine
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"]