diff --git a/.env.example b/.env.example deleted file mode 100644 index 95a7d83..0000000 --- a/.env.example +++ /dev/null @@ -1 +0,0 @@ -NGINX_PORT=3002 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 4e4b745..f62cc1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,14 +12,10 @@ RUN yarn build FROM nginx:stable-alpine as production-stage -ARG NGINX_PORT=3000 - -ENV NGINX_PORT ${NGINX_PORT} - COPY --from=build-stage /app/dist /usr/share/nginx/html -COPY nginx.conf /tmp/nginx.conf +COPY nginx.conf /etc/nginx/nginx.conf -RUN sed "s|%NGINX_PORT%|${NGINX_PORT}|g" /tmp/nginx.conf > /etc/nginx/nginx.conf +EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/README.md b/README.md index 0bfecb0..36549a6 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,16 @@ -# Vue 3 + TypeScript + Vite +## Landing DishDash -This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `