v2rayA/Dockerfile.gui
Markson Hon 2d2c3a5310 ci: fix getting friendly filename
ci: add version number to filename

ci: windows version should be win10 at least

chore(docker): Publish docker images on Github Container Registry (#1425)

* Temporary test

* Push containers to ghcr.io via GitHub Actions

* replace tabs with spaces

* temporary comment out dockerhub

* temporary comment out dockerhub for gui

* revertme: remove non-ghcr docker image tags

* convert repo owner name to lowercase

* fix conversion to lowercase

* fix typo, move lowercase conversion to calculate sooner

* copy lowercase conversion to both jobs

* fix typo

* add labels to gui and dev Dockerfiles

* specify correct push path for the ghcr.io

* fix typo

* hardcode image name

* specify correct labels for upstream

* add dockerhub tags

* uncomment dockerhub login

* restore Dockerfile.dev
2024-06-19 19:48:40 +08:00

10 lines
235 B
Docker

FROM node:lts-alpine AS builder
ADD gui /gui
WORKDIR /gui
RUN yarn && yarn build
FROM nginx:stable-alpine
COPY --from=builder /web /usr/share/nginx/html
LABEL org.opencontainers.image.source=https://github.com/v2rayA/v2rayA
EXPOSE 80