14 lines
206 B
Docker
14 lines
206 B
Docker
|
FROM node:18-alpine
|
||
|
|
||
|
# Create app directory
|
||
|
WORKDIR /app
|
||
|
|
||
|
# Bundle app source
|
||
|
COPY . .
|
||
|
|
||
|
# Install Requirements and build the app
|
||
|
RUN npm install && npm run build;
|
||
|
|
||
|
EXPOSE 5386
|
||
|
CMD [ "npm", "run", "start" ]
|