Skip to content

Commit eae841d

Browse files
committed
Build static assets for production in Docker
1 parent 5b9318a commit eae841d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ COPY . /code/
3838

3939
# Build JS/static assets
4040
RUN --mount=type=cache,target=/root/.npm npm install
41-
RUN npm run build
41+
RUN npm run dist
4242

4343
RUN python manage.py collectstatic --noinput --clear
4444

0 commit comments

Comments
 (0)