16 lines
169 B
Text
16 lines
169 B
Text
|
|
||
|
FROM node:18
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY package*.json ./
|
||
|
|
||
|
RUN npm install
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
ARG SERVER_PORT
|
||
|
ENV PORT $SERVER_PORT
|
||
|
EXPOSE $SERVER_PORT
|
||
|
|
||
|
CMD ["npm", "run", "start:dev"]
|