mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 11:36:24 +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"]
|