10 lines
203 B
Docker
10 lines
203 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=3000
|
|
EXPOSE 3000
|
|
CMD [ "pnpm", "start" ] |