init
This commit is contained in:
17
.dev/front/Dockerfile
Normal file
17
.dev/front/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM node:lts-alpine3.23
|
||||
|
||||
RUN apk update && apk upgrade
|
||||
|
||||
|
||||
ARG WORKDIR=/app
|
||||
ARG APPDIR=${WORKDIR}
|
||||
|
||||
|
||||
RUN mkdir -p ${APPDIR}
|
||||
RUN chown -R node:node ${WORKDIR}
|
||||
|
||||
USER node
|
||||
WORKDIR ${APPDIR}
|
||||
|
||||
# RUN npm run build
|
||||
CMD [ "npm", "run", "dev" ]
|
||||
Reference in New Issue
Block a user