forked from HlexNC/Document-Conversion-Solutions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove Dockerfile and devcontainer.json for Node.js and Pytho…
…n development" This reverts commit 70e6a79.
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Use an official Node.js runtime as a parent image | ||
FROM node:14 | ||
|
||
# Set the working directory in the container | ||
WORKDIR /workspace | ||
|
||
# Install Python 3 | ||
RUN apt-get update && \ | ||
apt-get install -y python3 python3-pip && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Optionally install global npm packages | ||
RUN npm install -g nodemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Python & Node.js Project", | ||
"dockerFile": "Dockerfile", | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash" | ||
}, | ||
"extensions": [ | ||
"ms-python.python", | ||
"dbaeumer.vscode-eslint" | ||
], | ||
"forwardPorts": [], | ||
"postCreateCommand": "pip install -r requirements.txt && npm install", | ||
"remoteUser": "root", | ||
"workspaceFolder": "/workspace" | ||
} |