build: 👷 Fix npm install command, import docker-compose override
This commit is contained in:
parent
381e58fa0a
commit
0afa010da0
|
@ -15,10 +15,12 @@ RUN curl -s https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/publ
|
|||
|
||||
# Install app dependencies
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
ENV NODE_ENV production
|
||||
RUN npm install
|
||||
COPY .eleventyignore ./
|
||||
COPY *.js ./
|
||||
COPY .env ./
|
||||
COPY docker-compose.override.yml ./
|
||||
|
||||
# Run api
|
||||
ENTRYPOINT ["npm", "run", "--"]
|
||||
|
|
Loading…
Reference in New Issue