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:
Samkit Shah
2026-01-21 23:09:47 -06:00
parent e4cdbff58c
commit 7fbbe63955
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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
+2 -1
View File
@@ -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