Commit ·
798c4ed
1
Parent(s): 59e1b4b
next env removed from gitignore
Browse files- .gitignore +0 -1
- Dockerfile +0 -4
- next-env.d.ts +5 -0
.gitignore
CHANGED
|
@@ -37,7 +37,6 @@ yarn-error.log*
|
|
| 37 |
|
| 38 |
# typescript
|
| 39 |
*.tsbuildinfo
|
| 40 |
-
next-env.d.ts
|
| 41 |
|
| 42 |
|
| 43 |
generated/
|
|
|
|
| 37 |
|
| 38 |
# typescript
|
| 39 |
*.tsbuildinfo
|
|
|
|
| 40 |
|
| 41 |
|
| 42 |
generated/
|
Dockerfile
CHANGED
|
@@ -11,10 +11,6 @@ RUN npm install
|
|
| 11 |
# Copy the rest of the application code
|
| 12 |
COPY . .
|
| 13 |
|
| 14 |
-
# Generate the missing next-env.d.ts file and set permissions
|
| 15 |
-
RUN touch /usr/src/app/next-env.d.ts && \
|
| 16 |
-
chmod 666 /usr/src/app/next-env.d.ts
|
| 17 |
-
|
| 18 |
# Ensure directories for file writing exist and have correct permissions
|
| 19 |
RUN mkdir -p /usr/src/app/src/components/generated && \
|
| 20 |
chmod -R 755 /usr/src/app
|
|
|
|
| 11 |
# Copy the rest of the application code
|
| 12 |
COPY . .
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
# Ensure directories for file writing exist and have correct permissions
|
| 15 |
RUN mkdir -p /usr/src/app/src/components/generated && \
|
| 16 |
chmod -R 755 /usr/src/app
|
next-env.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/// <reference types="next" />
|
| 2 |
+
/// <reference types="next/image-types/global" />
|
| 3 |
+
|
| 4 |
+
// NOTE: This file should not be edited
|
| 5 |
+
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
|