10 lines
195 B
Docker
10 lines
195 B
Docker
FROM fascinated/docker-images:node-pnpm-latest
|
|
|
|
WORKDIR /usr/src/app
|
|
COPY package.json pnpm-lock.yaml ./
|
|
RUN pnpm install
|
|
COPY . .
|
|
RUN pnpm run build
|
|
ENV PORT=80
|
|
EXPOSE 80
|
|
CMD [ "pnpm", "start" ] |