# Use NGINX as the base image
FROM nginx:alpine

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

# Copy the appParcV2.zip file into the container
COPY appParcV2.zip /tmp/appParcV2.zip

# Install unzip utility and extract the zip file
RUN apk add --no-cache unzip && \
    unzip /tmp/appParcV2.zip -d /usr/share/nginx/html && \
    rm /tmp/appParcV2.zip

# Expose port 80
EXPOSE 80
