Neo platform - First Version
This commit is contained in:
14
frontend/Dockerfile
Normal file
14
frontend/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM node:22-alpine AS base
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
FROM base AS deps
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
FROM base AS dev
|
||||
ENV NODE_ENV=development
|
||||
COPY --from=deps /usr/src/app/node_modules ./node_modules
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3001
|
||||
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0", "--port", "3001"]
|
||||
Reference in New Issue
Block a user