elungky commited on
Commit
26ccbe7
·
1 Parent(s): f2ae3ad

Final Dockerfile and start.sh for application launch

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -18
Dockerfile CHANGED
@@ -1,20 +1,14 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
- # SPDX-License-Identifier: Apache-2.0
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
 
16
- # Use NVIDIA PyTorch container as base image
17
- # FROM nvcr.io/nvidia/pytorch:24.10-py3
18
 
19
- # This Dockerfile will simply pull your pre-built image and run it.
20
- FROM elungky/gen3c:latest
 
 
 
 
 
 
 
1
+ # Dockerfile
2
+ FROM elungky/gen3c:latest
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
+ # Copy the startup script into the container
5
+ COPY start.sh /app/start.sh
6
 
7
+ # Make the script executable inside the container
8
+ RUN chmod +x /app/start.sh
9
+
10
+ # Set the working directory (assuming /app is where your code is copied in elungky/gen3c:latest)
11
+ WORKDIR /app
12
+
13
+ # Execute the startup script when the container runs
14
+ CMD ["/app/start.sh"]