working on implementing server.js
This commit is contained in:
parent
4ccc534f3d
commit
55b2398370
13 changed files with 2320 additions and 0 deletions
16
deployment-service/dockerfile
Normal file
16
deployment-service/dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY package.json ./
|
||||
RUN npm install --production
|
||||
|
||||
# Copy source and example env
|
||||
COPY src ./src
|
||||
COPY .env.example .env
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3006
|
||||
|
||||
# Start management service
|
||||
CMD ["npm", "start"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue