15 lines
234 B
Docker
15 lines
234 B
Docker
# Frontend Dockerfile
|
|
FROM nginx:alpine
|
|
|
|
# Copy static files
|
|
COPY . /usr/share/nginx/html/
|
|
|
|
# Copy nginx config
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Expose port
|
|
EXPOSE 80
|
|
|
|
# Start nginx
|
|
CMD ["nginx", "-g", "daemon off;"]
|