Ryujinx-Website/Dockerfile
Karim 70d6df62bd
Website redesign (#14)
* Initial project push

* Add tailwind config

* Add vue router config

* Continue

* Add generic navigation header

* Update navigations logic to prevent invalid active class

* Update HomePage.vue

* Add footer

* Add team member GitHub link

* Add new social list component

* Add SEO + favicon tag

* Update SEO tag

* Split header in multiple component

* Update i18n

* Add new homepage section

* Add new stats homepage section

* Add new section homepage section

* Add new section homepage section

* Add download page

* Update mac os section

* Add build information

* Continue

* Continue

* Continue

* Continue

* Add LDN build section

* Re order section

* Remove branch info

* Update contribute page

* Add generic button component

* Finish contribute page

* Update action logic

* Continue

* Continue

* Continue

* Fix invalid build

* Add missing token

* Fix deploy

* Update package

* Update package

* Add node version

* Fix typo

* Continue

* Fix typos

* Update teams

* Add new older build link

* Add new github action

* Add docker build

* Add LICENSE.txt and update README.md

* Add funding link

* Cleanup

* Fix invalid url

* Update .env

* Remove merge branch on release.yml

* Add asset condition

* Add sitemap.xml

* Add translation section
2022-09-07 09:32:39 +02:00

14 lines
343 B
Docker

# Stage build
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Stage prod
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY ./build/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]