Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
22_23-J 58
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
22_23-J 58
22_23-J 58
Commits
7abde3b3
Commit
7abde3b3
authored
May 05, 2023
by
IT19955728_JathunarachchiRT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docker file
parent
6c287165
Pipeline
#6529
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
Dockerfile
Dockerfile
+23
-0
No files found.
Dockerfile
0 → 100644
View file @
7abde3b3
FROM
python:3.7.3-stretch
# Maintainer info
LABEL
maintainer="kosaladisanayake.dk@gmail.com"
# Make working directories
RUN
mkdir
-p
/fish-identification-api
WORKDIR
/fish-identification-api
# Upgrade pip with no cache
RUN
pip
install
--no-cache-dir
-U
pip
# Copy application requirements file to the created working directory
COPY
requirements.txt .
# Install application dependencies from the requirements file
RUN
pip
install
-r
requirements.txt
# Copy every file in the source folder to the created working directory
COPY
. .
# Run the python application
CMD
["python", "main.py"]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment