FROM node:18

WORKDIR /app

COPY ./ ./
RUN npm install
ARG BASE_URL
RUN npm run build

EXPOSE 3000
CMD ["node", "dist/server/server.js"]
