Fix dockerfile
This commit is contained in:
parent
74a4e27ef5
commit
63de1cc642
@ -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
|
4
Makefile
4
Makefile
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user