mirror of
https://github.com/v2rayA/v2rayA.git
synced 2024-11-25 16:20:03 +08:00
1c486b40cc
* 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
10 lines
235 B
Docker
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
|