diff --git a/Dockerfile b/Dockerfile index 5d11819..190099b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,5 +18,12 @@ RUN if [ ! -f "$SSH_KEY_PATH" ]; then \ cat $SSH_KEY_PATH.pub; \ fi -# Example command to run when the container starts -CMD ["echo", "Container is running"] \ No newline at end of file +# Nginx configuration +COPY nginx.conf /etc/nginx/nginx.conf + +# Expose ports +EXPOSE 80 +EXPOSE 443 + +# Start nginx +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file