mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 23:05:49 +00:00
Create dockerfile
This commit is contained in:
parent
f6f95e2fc5
commit
78894cc9c5
1 changed files with 16 additions and 0 deletions
16
dockerfile
Normal file
16
dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
FROM ubuntu:22.04 as unzip
|
||||
RUN mkdir /Nop && \
|
||||
apt update && \
|
||||
apt install wget unzip -y && \
|
||||
cd /Nop && \
|
||||
wget "https://github.com/nopSolutions/nopCommerce/releases/download/release-4.50.3/nopCommerce_4.50.3_NoSource_linux_x64.zip" &&\
|
||||
unzip /Nop/nopCommerce_4.50.3_NoSource_linux_x64.zip && \
|
||||
rm /Nop/nopCommerce_4.50.3_NoSource_linux_x64.zip
|
||||
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0
|
||||
LABEL author="nagarjuna"
|
||||
COPY --from=unzip /Nop /Nop
|
||||
WORKDIR /Nop
|
||||
EXPOSE 80
|
||||
CMD ["dotnet","/Nop/Nop.Web.dll"]
|
Loading…
Reference in a new issue