small fixes on docker swarm deployment (#265)

* fix COPY with multiple files

* Update Deployment.md
This commit is contained in:
raffaele messuti 2022-06-17 04:56:40 +02:00 committed by GitHub
parent b40765134c
commit 70767f0ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,8 @@ as with multi-machine setups. Docker Swarm is part of Docker, so if you have Doc
2. You can edit `configs/config.env` and `configs/config.yaml` to set default passwords for superadmin, minio and mongodb.
2.5: Optionally: run `build-swarm.sh` to build the Docker images locally on your machine (eg. if you've made any changes).
3. Run `run-swarm.sh` to initialize the cluster.
4. Load `http://localhost:9871/` to see the Browsertrix Cloud login page. (The API is also available at: `http://localhost:9871/api/docs`).

View File

@ -11,7 +11,7 @@ ENV GIT_COMMIT_HASH=${GIT_COMMIT_HASH} \
WORKDIR /app
COPY yarn.lock package.json .
COPY yarn.lock package.json ./
RUN yarn --frozen-lockfile
COPY lit-localize.json \
@ -20,7 +20,7 @@ COPY lit-localize.json \
tsconfig.json \
webpack.config.js \
webpack.prod.js \
.
./
COPY src ./src/