fix(docker): enable dev build with production target alias
The Dockerfile.dev files lacked the 'production' stage alias that docker-compose.yml expects, causing build failures. Added 'AS production' to enable proper dev builds with hot reload. Fixes #26
This commit is contained in:
+2
-1
@@ -1,5 +1,6 @@
|
||||
# Development Dockerfile with hot reload
|
||||
FROM node:20-alpine
|
||||
# The 'production' alias allows this to work with docker-compose.yml target
|
||||
FROM node:20-alpine AS production
|
||||
|
||||
ARG NPM_TOKEN
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# Development Dockerfile with hot reload
|
||||
FROM node:20-alpine
|
||||
# The 'production' alias allows this to work with docker-compose.yml target
|
||||
FROM node:20-alpine AS production
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user