Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change docker run command doc #535

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

gluonhiggs
Copy link
Contributor

Since the docker run command in the doc returns

See 'docker run --help'.

Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Create and run a new container from an image
-v: command not found
-p: command not found
-p: command not found
-e: command not found
-e: command not found
-e: command not found
-e: command not found
bash: abhisheksaha11/letterpad: No such file or directory

I suggest change to

docker run \
-v 'data:/app/apps/admin/prisma/sqlite/data' \
-p 3001:3001 \
-p 3000:3000 \
-e DATABASE_URL='file:data/letterpad.sqlite' \
-e SECRET_KEY='provide-a-secret-key' \
-e EMAIL="xxx@xxx.com" \
-e PASSWORD='xxxxxxxxxxx' \
abhisheksaha11/letterpad

for clearance and accuracy.

@abhisaha1
Copy link
Member

Thanks @gluonhiggs!

@abhisaha1 abhisaha1 merged commit b25b3e6 into letterpad:master Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants