mirror of
https://github.com/Lore09/Tesi-Magistrale.git
synced 2025-12-20 21:04:36 +00:00
moved dockerfile
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
FROM ubuntu:24.04 AS wash-deploy-image
|
||||
|
||||
# Install dependencies and tools
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
wget \
|
||||
tar \
|
||||
git \
|
||||
build-essential \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# ----------------- Install WasmCloud -----------------
|
||||
RUN curl -s "https://packagecloud.io/install/repositories/wasmcloud/core/script.deb.sh" | bash && \
|
||||
apt-get install -y wash
|
||||
|
||||
# ----------------- Deploy the WasmCloud module -----------------
|
||||
FROM wash-deploy-image
|
||||
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
|
||||
# Deploy the WasmCloud module
|
||||
CMD ["sh", "-c", "wash app deploy wadm.yaml"]
|
||||
Reference in New Issue
Block a user