healthy_oil/Dockerfile

17 lines
244 B
Docker

FROM node:20 AS build-stage
WORKDIR /app
COPY package*.json /app/
RUN npm install
COPY ./ /app/
RUN npm run build
EXPOSE 3000
# Bind to all network interfaces, not just localhost
CMD [ "serve", "-s", "dist", "-l", "tcp://0.0.0.0:3000" ]