Skip to content

Commit 6f6d1e3

Browse files
authored
Merge pull request #249 from danielemery/hotfix-fix-docker-entrypoint
hotfix: Fix docker-react entrypoint issue
2 parents ec88b6c + e92fcc0 commit 6f6d1e3

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM demery/docker-react:v0.1.0
1+
FROM demery/docker-react:v0.1.1
22

33
ARG IMAGE_VERSION
44
ENV VITE_QUIZLORD_VERSION=$IMAGE_VERSION

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@ npm run dev
3636
npm run build
3737
# Build a local image tagged with local
3838
docker build -t quizlord-client:local .
39+
# Push a local env file using doppler
40+
doppler secrets download --no-file --format docker > .env
3941
# Run local build using the env file
40-
docker run -p 3000:80 --env-file <(doppler secrets download --no-file --format docker) --name=quizlord-client quizlord-client:local
42+
docker run --rm -p 3000:80 --env-file=.env --name=quizlord-client quizlord-client:local
4143
# Cleanup
42-
docker rm quizlord-client && docker image rm quizlord-client:local
44+
docker image rm quizlord-client:local
45+
rm .env
4346
```
4447

4548
### Test Helm Locally

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"classnames": "^2.3.1",
2525
"date-fns": "^4.1.0",
2626
"dexie": "^4.0.11",
27-
"docker-react": "^0.1.0",
27+
"docker-react": "^0.1.1",
2828
"graphql": "^16.8.1",
2929
"preact": "^10.5.15",
3030
"react-router-dom": "^7.0.1",

0 commit comments

Comments
 (0)