File size: 391 Bytes
8ad7407
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Use an official Nginx image to serve the static files
FROM nginx:alpine-slim

# Set the working directory inside the container
WORKDIR /usr/share/nginx/html

# Copy the production build from the dist folder to the Nginx HTML directory
COPY dist/ .

COPY nginx.conf /etc/nginx/conf.d/default.conf

# Expose the default Nginx port
EXPOSE 7860

# Nginx runs by default, no need to specify CMD