Fix dockerfile
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
Javier Feliz 2025-07-16 19:33:47 -04:00
parent 74a4e27ef5
commit 63de1cc642
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,9 @@
FROM gitgud.foo/thegrind/laravel-base:latest
# Get the app in there
COPY . /app
WORKDIR /app
COPY . .
# Install deps and built front end assets
RUN composer install --no-interaction --prefer-dist --optimize-autoloader
RUN npm install && npm run build

View File

@ -21,3 +21,7 @@ rebuild:
docker-publish:
docker image tag flowtodo:latest gitgud.foo/thegrind/flowtodo:$(VERSION)
docker push gitgud.foo/thegrind/flowtodo:$(VERSION)
test-remote-image:
docker pull gitgud.foo/thegrind/flowtodo:latest
docker run --rm -p 8889:8000 gitgud.foo/thegrind/flowtodo:latest