This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
sales_backend
Watch
1
Star
0
Fork
1
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
compile-time microoptimization
master
Archivist
6 years ago
parent
d70bfda43e
commit
12de0e332e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Dockerfile
+ 1
- 1
Dockerfile
View File
@ -5,6 +5,6 @@ COPY . /opt/app/
RUN
cd
/opt/app
&&
\
shards
RUN
cd
/opt/app/
&&
crystal build --release src/sales_backend.cr
RUN
cd
/opt/app/
&&
crystal build --
mcpu
$(
gcc -march
=
native -Q --help
=
target
|
grep march
|
awk
'{print $2}'
|
head -n 1
)
--
release src/sales_backend.cr
CMD
/opt/app/sales_backend
Write
Preview
Loading…
Cancel
Save