11 lines
216 B
Docker
11 lines
216 B
Docker
FROM node:iron-alpine3.18
|
|
|
|
USER node
|
|
WORKDIR /usr/src/app
|
|
COPY --chown=node:node package*.json ./
|
|
RUN npm ci
|
|
COPY --chown=node:node . .
|
|
ENV CHOKIDAR_USEPOLLING=true
|
|
EXPOSE 24678
|
|
EXPOSE 3000
|
|
CMD ["npm", "run", "dev"]
|