mirror of
https://github.com/kou029w/sync-codesandbox.git
synced 2025-01-18 15:38:04 +00:00
fix build erro in github actions
This commit is contained in:
parent
c46a480cd0
commit
7266f5b881
2 changed files with 3 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
||||||
ARG from
|
FROM kou029w/puppeteer-node:latest
|
||||||
FROM ${from}
|
|
||||||
USER root
|
USER root
|
||||||
RUN npm --unsafe-perm=true install -g kou029w/sync-codesandbox
|
RUN npm --unsafe-perm=true install -g kou029w/sync-codesandbox
|
||||||
USER pptruser
|
USER pptruser
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
puppeteer-node:
|
puppeteer-node:
|
||||||
image: &puppeteer-node kou029w/puppeteer-node
|
image: kou029w/puppeteer-node
|
||||||
build:
|
build:
|
||||||
context: github.com/puppeteer/puppeteer#:.ci/node12
|
context: github.com/puppeteer/puppeteer#:.ci/node12
|
||||||
dockerfile: Dockerfile.linux
|
dockerfile: Dockerfile.linux
|
||||||
sync-codesandbox:
|
sync-codesandbox:
|
||||||
image: kou029w/sync-codesandbox:${VERSION:-latest}
|
image: kou029w/sync-codesandbox
|
||||||
build:
|
build:
|
||||||
context: "."
|
context: "."
|
||||||
args:
|
|
||||||
from: *puppeteer-node
|
|
||||||
depends_on: [puppeteer-node]
|
depends_on: [puppeteer-node]
|
||||||
|
|
Loading…
Add table
Reference in a new issue