Files
cook/Dockerfile
2022-04-20 09:23:56 -07:00

21 lines
249 B
Docker

FROM node:lts-alpine
RUN apk update
RUN apk add xdg-utils
RUN npm install -g pnpm
WORKDIR /app
COPY . .
RUN pnpm install
# convert csv to json
# automatically executed when postinstall
RUN pnpm convert
EXPOSE 3333
ENTRYPOINT ["pnpm", "dev"]