first working version
This commit is contained in:
16
exam_system/exam_web/Dockerfile
Normal file
16
exam_system/exam_web/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
# Copy source
|
||||
COPY . .
|
||||
|
||||
EXPOSE 4200
|
||||
|
||||
# Development server
|
||||
CMD ["npm", "start", "--", "--host", "0.0.0.0", "--port", "4200"]
|
||||
|
||||
Reference in New Issue
Block a user