Skip to content

Commit 4e8bff3

Browse files
committed
fix: wrong problem, move FROM to begin
1 parent 8e026d7 commit 4e8bff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
ARG NODE_VERSION=22-alpine
22

3+
FROM node:${NODE_VERSION}
4+
35
ARG NODE_ENV=production
46
ARG NEXT_PUBLIC_API_URL=http://localhost:3000
57
ARG NEXT_PUBLIC_CAS_SERVICE_URL=http://localhost:3000
@@ -11,8 +13,6 @@ ENV NEXT_PUBLIC_CAS_SERVICE_URL=${NEXT_PUBLIC_CAS_SERVICE_URL}
1113
ENV NEXT_PUBLIC_API_VERSION=${NEXT_PUBLIC_API_VERSION}
1214
ENV NEXT_PUBLIC_API_REQUEST_TIMEOUT=${NEXT_PUBLIC_API_REQUEST_TIMEOUT}
1315

14-
FROM node:${NODE_VERSION}
15-
1616
WORKDIR /usr/src/app
1717

1818
# Add alpine dependencies for 'sharp'

0 commit comments

Comments
 (0)