diff --git a/Dockerfile b/Dockerfile index f5a2dc9..5d2fd6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,15 +11,17 @@ RUN npm install # Copy the rest of your application files. COPY . . -# Build your application. -RUN npm run build - ARG POCKETBASE_URL ARG PORT=4321 # Set environment variables and expose the appropriate port. ENV HOST=0.0.0.0 ENV PORT=${PORT} ENV POCKETBASE_URL=${POCKETBASE_URL} + +# Build your application. +RUN npm run build + + EXPOSE ${PORT} # Define the command to run your application.