Skip to content

Instantly share code, notes, and snippets.

@cjac
Created April 3, 2024 04:34
Show Gist options
  • Save cjac/c0ecb0e6551eace261f2cc2f6c2481a2 to your computer and use it in GitHub Desktop.
Save cjac/c0ecb0e6551eace261f2cc2f6c2481a2 to your computer and use it in GitHub Desktop.
FROM node:21-alpine3.18
# set working directory
WORKDIR /llc-site
#add /app/node_modules/.bin to $PATH
ENV PATH ${WORKDIR}/node_modules/.bin:$PATH
# install app dependencies
COPY package.json ./
COPY package-lock.json ./
ADD app app/
RUN npm install
RUN npm run dev
#RUN npm run build
# start app
#CMD ["npm", "run", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment