diff --git a/Dockerfile b/Dockerfile index c75698f..d5a931d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,7 @@ RUN mkdir /codebase RUN npm install -g plop tsx cross-env typescript COPY ./plop/* /plop - -CMD ['npm', 'run', 'plop'] -SHELL ["/bin/bash", "-c"] +CMD ["bash", "-c", "npm run plop"] WORKDIR /plop diff --git a/README.md b/README.md index ace2b48..bd324d4 100644 --- a/README.md +++ b/README.md @@ -17,5 +17,5 @@ This repository provides a Dockerized setup for [Plop.js](https://plopjs.com/), 1. **Run the Docker image**: You can use the local image name for now, or once finalized, use the public image URL provided by GitHub Actions: ```bash - docker run --rm -it plop_plop + docker run --rm -it ghcr.io/justcoded/plopjs:latest ```