Interactive interface for browsing global, full-resolution satellite imagery
Updating Dockerfile (#4182)
Ryan Weiler3186cfecdd0c
diff --git a/Dockerfile b/Dockerfileindex 248fe641c..0ecf878f8 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,5 +1,4 @@FROM almalinux:9.1-FROM mcr.microsoft.com/playwright:focalRUN dnf install -y epel-release && \dnf --enablerepo=crb install giflib-devel -y && \@@ -29,14 +28,5 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bENV PATH="${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/:${PATH}"-WORKDIR /build-# Only what is needed to run the Playwright tests on Firefox-RUN mkdir -p /build/node_modules && \- npm install \- @playwright/test \- playwright-firefox--VOLUME /build/node_modules-EXPOSE 80CMD tail -f /dev/nulldiff --git a/e2e/Dockerfile b/e2e/Dockerfilenew file mode 100644index 000000000..5a357e723--- /dev/null+++ b/e2e/Dockerfile@@ -0,0 +1,10 @@+FROM mcr.microsoft.com/playwright:focal++WORKDIR /build++RUN mkdir -p /build/node_modules && \+ npm install \+ @playwright/test \+ playwright-firefox++VOLUME /build/node_modules\ No newline at end of filediff --git a/package.json b/package.jsonindex cbee5c3f6..84fef4ca1 100644--- a/package.json+++ b/package.json@@ -38,8 +38,8 @@"dist:dev": "run-s clean getcapabilities build:config build:dev && node ./tasks/util/dist.js","distclean": "npm run clean && node ./tasks/util/distclean.js","docker:ci": "npm run docker:restart && docker exec -it worldview /bin/bash /build/e2e/docker-ci.sh ; npm run docker:stop",- "docker:image": "docker build -t worldview .",- "docker:reimage": "docker rmi -f worldview && docker build --no-cache -t worldview .",+ "docker:build": "docker build -t worldview .",+ "docker:rebuild": "docker rmi -f worldview && docker build --no-cache -t worldview .","docker:restart": "run-s docker:stop docker:start","docker:shell": "docker exec -it worldview /bin/bash ; true","docker:shellwin": "winpty docker exec -it worldview //bin/bash",