Created
April 3, 2024 04:34
-
-
Save cjac/c0ecb0e6551eace261f2cc2f6c2481a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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