Files
cook/Dockerfile
2022-04-18 23:48:19 -07:00

23 lines
272 B
Docker

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