put all thing in there now
This commit is contained in:
@@ -11,6 +11,20 @@ COPY . .
|
||||
WORKDIR "/src/FamilyTreeAPI"
|
||||
RUN dotnet build "./FamilyTreeAPI.csproj" -c Release -o /app/build
|
||||
|
||||
# create directory for import folder, and image folder
|
||||
RUN mkdir /app_import
|
||||
|
||||
RUN mkdir /app_images
|
||||
|
||||
VOLUME /app_import
|
||||
|
||||
VOLUME /app_images
|
||||
# docker run -v my_path_name_volume_host:/app_import my_image_name
|
||||
# docker run -v my_path_named_volume_host:/app_images my_image_name
|
||||
# docker cp /home/user/my_app/config.json my_container:/app/config.json
|
||||
# docker cp /home/user/my_app/data my_container:/app/data ### copy folder data
|
||||
# docker cp mycontainer:/app/output.txt /home/user/documents/
|
||||
|
||||
# This stage is used to publish the service project to be copied to the final stage
|
||||
FROM build AS publish
|
||||
|
||||
|
||||
Reference in New Issue
Block a user