1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
So the dockerfile suggested by the aws documentation I followed has the line
COPY package.json index.ts ./
I would expect that the ./
part of this would cause every file in the project directory to be copied over to the container.
Apparently not. The problem was fixed by manually adding the file from which index.ts
was importing to that line like so:
COPY package.json index.ts schema.ts ./
Although this fixes the problem, I'm still not sure how to cause all the files in the project directory (excepting of course .gitignore) to get copied over to the container before the build step without having to manually write their names into the COPY
line as above. If anyone knows, please tell me.
respondido hace 5 meses
Contenido relevante
- OFICIAL DE AWSActualizada hace un mes
- OFICIAL DE AWSActualizada hace 4 años