forked from LaconicNetwork/cosmos-explorer
Add CI to publish docker image (#1)
Part of https://plan.wireit.in/deepstack/browse/VUL-61/ Co-authored-by: Pranav <jadhavpranav89@gmail.com> Reviewed-on: LaconicNetwork/cosmos-explorer#1
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
# Originally from: https://github.com/devcontainers/images/blob/main/src/javascript-node/.devcontainer/Dockerfile
|
||||
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
|
||||
ARG VARIANT=20-bullseye
|
||||
|
||||
FROM node:${VARIANT}
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN yarn install
|
||||
|
||||
# Expose port for http
|
||||
EXPOSE 4173
|
||||
Reference in New Issue
Block a user