You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
TrashSensor_API/Dockerfile-web

14 lines
187 B

FROM node:20-alpine
ARG APP_DIR=/var/www/trash/web
RUN mkdir -p ${APP_DIR}
WORKDIR ${APP_DIR}
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
EXPOSE 3000/tcp
CMD npm start