공부
[docker] Dockerfile (sh file)
승가비
2022. 8. 31. 16:20
728x90
COPY . /app/
RUN ./bootstrap.sh
https://stackoverflow.com/questions/34549859/run-a-script-in-dockerfile
Run a script in Dockerfile
I'm trying to run a script during my building process in my Dockerfile, but it doesn't seems to work. I tried that way: FROM php:7-fpm ADD bootstrap.sh / ENTRYPOINT ["/bin/bash", "/
stackoverflow.com
FROM python:3.6 as app
ENV TZ=Asia/Seoul
WORKDIR /app
COPY . /app/
RUN ./sh/install.sh
ENTRYPOINT ./sh/start.sh
https://stackoverflow.com/questions/30215830/dockerfile-copy-keep-subdirectory-structure
Dockerfile copy keep subdirectory structure
I'm trying to copy a number of files and folders to a docker image build from my localhost. The files are like this: folder1/ file1 file2 folder2/ file1 file2 I'm trying to make th...
stackoverflow.com
728x90