mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 02:55:04 +01:00
13 lines
291 B
Plaintext
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"]
|